We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efb4202 commit 14004b3Copy full SHA for 14004b3
check/shellcheck
@@ -22,12 +22,12 @@
22
# Use the '--dry-run' option to print out the shellcheck command line without
23
# running it. This displays all shell script files found in the repository.
24
25
-set -uo pipefail
+set -euo pipefail
26
27
# Change working directory to the repository root.
28
thisdir=$(dirname "${BASH_SOURCE[0]:?}")
29
repo_dir=$(git -C "${thisdir}" rev-parse --show-toplevel)
30
-cd "${repo_dir}" || exit $?
+cd "${repo_dir}"
31
32
# Process command line arguments
33
opt_dry_run=0
0 commit comments