Update file run_onchange_after_26-vscode-extensions.sh.tmpl
This commit is contained in:
parent
0135441554
commit
dc392492a2
1 changed files with 6 additions and 0 deletions
|
@ -31,6 +31,12 @@
|
||||||
{{ includeTemplate "universal/profile" }}
|
{{ includeTemplate "universal/profile" }}
|
||||||
{{ includeTemplate "universal/logg" }}
|
{{ 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)
|
# @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
|
if command -v code > /dev/null; then
|
||||||
EXTENSIONS="$(code --list-extensions)"
|
EXTENSIONS="$(code --list-extensions)"
|
||||||
|
|
Loading…
Reference in a new issue