Skip to content

Commit

Permalink
add set -euo pipefail
Browse files Browse the repository at this point in the history
  • Loading branch information
fentas committed Mar 25, 2024
1 parent 9eec154 commit f58ab3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion argsh.min.tmpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
# shellcheck disable=SC2178 disable=SC2120 disable=SC1090 disable=SC2046 disable=SC2155
ARGSH_COMMIT_SHA="${commit_sha}"; ARGSH_VERSION="${version}"
set -euo pipefail; ARGSH_COMMIT_SHA="${commit_sha}"; ARGSH_VERSION="${version}"
${data};[[ "${BASH_SOURCE[0]}" != "${0}" ]] || argsh::shebang "${@}"

0 comments on commit f58ab3f

Please sign in to comment.