Skip to content

Commit

Permalink
execute the check in order of folder numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
shawntabrizi committed Aug 4, 2024
1 parent bdd2dc0 commit 3960d5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ if [ ! -d "steps" ]; then
exit 1
fi

# Iterate through each subdirectory in the 'steps' directory
for dir in steps/*/; do
# Iterate through each subdirectory in the 'steps' directory in numerical order
for dir in $(ls -d steps/*/ | sort -V); do
# Extract the directory name
dir_name=$(basename "$dir")

Expand Down

0 comments on commit 3960d5c

Please sign in to comment.