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 677912b commit e6ffbcdCopy full SHA for e6ffbcd
terrascan.sh
@@ -14,8 +14,7 @@ terrascan_() {
14
15
# consume modified files passed from pre-commit so that
16
# terrascan runs against only those relevant directories
17
- # shellcheck disable=SC2128 # scan the first directory of the FILES array
18
- for file_with_path in $files; do
+ for file_with_path in "${files[@]}"; do
19
file_with_path="${file_with_path// /__REPLACED__SPACE__}"
20
paths[index]=$(dirname "$file_with_path")
21
index=$((index + 1))
0 commit comments