Update file run_onchange_after_26-vscode-extensions.sh.tmpl

This commit is contained in:
Brian Zalewski 2023-04-19 14:46:11 +00:00
parent 0135441554
commit dc392492a2

View file

@ -31,6 +31,12 @@
{{ includeTemplate "universal/profile" }}
{{ includeTemplate "universal/logg" }}
### Hides useless error during extension installations
# Error looks like:
# (node:53151) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
# (Use `Electron --trace-deprecation ...` to show where the warning was created)
export NODE_OPTIONS=--throw-deprecation
# @description Install Visual Studio Code extensions if they are not already installed (by checking the `code --list-extensions` output)
if command -v code > /dev/null; then
EXTENSIONS="$(code --list-extensions)"