Skip to content

Commit

Permalink
attempt 3 at fixing bad output
Browse files Browse the repository at this point in the history
  • Loading branch information
nl32 committed Oct 9, 2024
1 parent 20a716b commit abb83ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/generateCheck.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
if [ $files == '' ]; then
if [ -z "${files}" ]; then
echo "## Formatting Check passed 🥳" >>$GITHUB_STEP_SUMMARY
echo "All files are formatted correctly" >>$GITHUB_STEP_SUMMARY
exit 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prettierCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
id: prettier
continue-on-error: true
run: |
echo "files=$(npx prettier . -l | sed -e '1,4d' )" > $GITHUB_OUTPUTS
echo "files=$(npx prettier . -l | sed -e '1,4d' )" >> $GITHUB_OUTPUTS
- name: generate errors/summary
run: .github/workflows/generateCheck.sh
env:
Expand Down

0 comments on commit abb83ec

Please sign in to comment.