mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-11-24 23:48:09 +01:00
disable node deprecations in chezmoiupdate function
This commit is contained in:
parent
c0b22dea4c
commit
beb4f22aaa
1 changed files with 8 additions and 7 deletions
|
@ -1,9 +1,10 @@
|
|||
function chezmoiupdate
|
||||
if not bw login --check
|
||||
set -x BW_SESSION (bw login --raw)
|
||||
end
|
||||
if not bw unlock --check
|
||||
set -x BW_SESSION (bw unlock --raw)
|
||||
end
|
||||
chezmoi update
|
||||
set -x NODE_OPTIONS "--no-deprecation"
|
||||
if not bw login --check
|
||||
set -x BW_SESSION (bw login --raw)
|
||||
end
|
||||
if not bw unlock --check
|
||||
set -x BW_SESSION (bw unlock --raw)
|
||||
end
|
||||
chezmoi update
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue