remove blank lines in upgrade func

This commit is contained in:
Gabriel Augendre 2024-01-20 16:16:26 +01:00
parent 365a3a7579
commit 8dbb737944

View file

@ -6,8 +6,8 @@ function upgrade --wraps=topgrade
if not bw unlock --check if not bw unlock --check
set -x BW_SESSION (bw unlock --raw) set -x BW_SESSION (bw unlock --raw)
end end
{{ if get . "sudo" }} {{- if get . "sudo" }}
sudo ls >/dev/null sudo ls >/dev/null
{{ end }} {{- end }}
topgrade $argv topgrade $argv
end end