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 function chezmoiupdate
if not bw login --check set -x NODE_OPTIONS "--no-deprecation"
set -x BW_SESSION (bw login --raw) if not bw login --check
end set -x BW_SESSION (bw login --raw)
if not bw unlock --check end
set -x BW_SESSION (bw unlock --raw) if not bw unlock --check
end set -x BW_SESSION (bw unlock --raw)
chezmoi update end
chezmoi update
end end