Skip to content

Commit

Permalink
Merge pull request #57 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 committed Jun 10, 2024
2 parents 311d6b4 + e47291e commit ad90477
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}" -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 ad90477

Please sign in to comment.