Skip to content

Commit

Permalink
fix find complaint about arg order
Browse files Browse the repository at this point in the history
  • Loading branch information
johnstcn committed Nov 22, 2024
1 parent 0173eeb commit e5ad19d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ declare -a modules=()
declare -a failures=()

# Collect all module directories containing a main.tf file
for path in $(find . -not -path '*/.*' -type f -name main.tf -maxdepth 2 | cut -d '/' -f 2 | sort -u); do
for path in $(find . -maxdepth 2 -not -path '*/.*' -type f -name main.tf | cut -d '/' -f 2 | sort -u); do
modules+=("${path}")
done

Expand Down

0 comments on commit e5ad19d

Please sign in to comment.