Better debug flag logic

This commit is contained in:
Andrei Pohilko
2023-01-20 13:32:55 +00:00
parent 4ebf67095a
commit 0e6231dfbd

View File

@@ -2,9 +2,7 @@
# Copied w/ love from the chartmuseum/helm-push :)
if [ -n "$HELM_DEBUG" ]; then
set -x
fi
[ -z "$HELM_DEBUG" ] || set -x
name="helm-dashboard"
repo="https://github.com/komodorio/${name}"