Skip to content

Commit

Permalink
attempt 2 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 b309892 commit 20a716b
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 [ $status == 'success' ]; then
if [ $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: |
"files=${npx prettier . -l}">> "$GITHUB_OUTPUT"
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 20a716b

Please sign in to comment.