Skip to content

Commit 3b67596

Browse files
A1L13Nclaude
andcommitted
Fix project-checks failing when the last changed folder has no wrangler.toml
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent ee1a091 commit 3b67596

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/project-checks.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
else
3030
changed=$(ls -d */ | tr -d /)
3131
fi
32-
workers=$(for d in $changed; do [ -f "$d/wrangler.toml" ] && echo "$d"; done)
32+
workers=$(for d in $changed; do if [ -f "$d/wrangler.toml" ]; then echo "$d"; fi; done)
3333
echo "workers=$(echo "$workers" | jq -R . | jq -sc 'map(select(length > 0))')" >> "$GITHUB_OUTPUT"
3434
echo "app=$(echo "$changed" | grep -qx app && echo true || echo false)" >> "$GITHUB_OUTPUT"
3535

0 commit comments

Comments
 (0)