Skip to content

Commit

Permalink
remove quotes so that stuff gets passed right, maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
nl32 committed Oct 9, 2024
1 parent a4d76a0 commit d3eae31
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/generateCheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ if [ -z "${files}" ]; then
echo "All files are formatted correctly" >>$GITHUB_STEP_SUMMARY
exit 0
else
files=$(echo "$files" | sed -e '1,4d')
echo "## Formatting Check Failed 😅" >>$GITHUB_STEP_SUMMARY
echo "Please run prettier using \`npx prettier . --write\` in order to format your code" >>$GITHUB_STEP_SUMMARY
echo "### Files with bad formatting:" >>$GITHUB_STEP_SUMMARY
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=howdy" >> "$GITHUB_ENV"
echo files=$(npx prettier . -l | sed -e '1,4d' ) >> "$GITHUB_ENV"
- name: generate errors/summary
run: .github/workflows/generateCheck.sh
env:
Expand Down

0 comments on commit d3eae31

Please sign in to comment.