Skip to content

Commit

Permalink
Fix bug with break statement
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeByDrescher committed Jan 30, 2025
1 parent 537c9f1 commit 253bbcc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/NightlyPublished_CLI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,10 @@ jobs:
MAX_NUM_FILES=20
file_num=1
for file in $SOURCE_DIR/*; do
break ${MAX_NUM_FILES}
if [[ "$var" -eq "$MAX_NUM_FILES" ]]; then
echo "Ending preparation early; break statement reached"
break
fi
# Is the file of the correct form?
file_name=$(basename $file)
if ! [[ $file_name =~ ^VCDB_[0-9]+.*\.omex$ ]]; then
Expand Down

0 comments on commit 253bbcc

Please sign in to comment.