disable node deprecations in chezmoiupdate function

This commit is contained in:
Gabriel Augendre 2024-01-20 09:13:00 +01:00
parent c0b22dea4c
commit beb4f22aaa

View file

@ -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