Merge pull request #30 from weaveworks/mike/shell-lint/dont-error-if-empty

shell-lint: Don't fail if no shell scripts found
This commit is contained in:
Jonathan Lange
2016-08-17 14:34:06 +01:00
committed by GitHub

View File

@@ -10,4 +10,4 @@
# - files-with-type
# - file >= 5.22
"$(dirname "${BASH_SOURCE[0]}")/files-with-type" text/x-shellscript "$@" | xargs shellcheck
"$(dirname "${BASH_SOURCE[0]}")/files-with-type" text/x-shellscript "$@" | xargs --no-run-if-empty shellcheck