Skip to content

Commit

Permalink
Merge pull request #436 from Nordix/tuomo/fix-shellcheck
Browse files Browse the repository at this point in the history
shellcheck only files
  • Loading branch information
metal3-io-bot authored Jun 10, 2024
2 parents df7c491 + 4e3121f commit 69c93cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/shellcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ CONTAINER_RUNTIME="${CONTAINER_RUNTIME:-podman}"

if [ "${IS_CONTAINER}" != "false" ]; then
TOP_DIR="${1:-.}"
find "${TOP_DIR}" -path ./vendor -prune -o -name '*.sh' -exec shellcheck -s bash {} \+
find "${TOP_DIR}" -name '*.sh' -type f -exec shellcheck -s bash {} \+
else
"${CONTAINER_RUNTIME}" run --rm \
--env IS_CONTAINER=TRUE \
Expand Down

0 comments on commit 69c93cb

Please sign in to comment.