File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ function runShellcheck() {
6969 fi
7070 done
7171
72- shellcheck --version
72+ shellcheck --version
7373
7474 local -i fileWithIssuesCounter=0
7575 local -i fileCounter=0
@@ -81,7 +81,7 @@ function runShellcheck() {
8181 else
8282 (( ++ fileCounter))
8383 declare output
84- output=$( shellcheck -C -x -o all -P " $sourcePath " " $script " 2>&1 || true)
84+ output=$( shellcheck --check-sourced --color=auto --external-sources --enable= all --source-path= " $sourcePath " " $script " 2>&1 || true)
8585 if [[ $output != " " ]]; then
8686 printf " %s\n" " $output "
8787 (( ++ fileWithIssuesCounter))
@@ -107,7 +107,7 @@ function runShellcheck() {
107107 elif (( fileCounter == 0 )) ; then
108108 die " looks suspicious, no files where analysed (%s symlinks skipped), watch out for errors above" " $skipped "
109109 else
110- local runShellcheck_paths_as_string
110+ local runShellcheck_paths_as_string
111111 runShellcheck_paths_as_string=$( joinByChar $' \n ' " ${runShellcheck_paths[@]} " )
112112 logSuccess " no shellcheck issues found, analysed %s files (%s symlinks skipped) in paths:\n%s" " $fileCounter " " $skipped " " $runShellcheck_paths_as_string "
113113 fi
You can’t perform that action at this time.
0 commit comments