Skip to content

Commit

Permalink
fix: update eslint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmendes21 committed Jan 31, 2025
1 parent 64a9159 commit 4b4b4eb
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ jobs:
- name: Run Prettier Formatting
run: yarn prettier --check src/

- name: Check for Uncommitted Changes
run: |
git config --global --add safe.directory $(pwd)
git init
if [[ -n $(git status --porcelain) ]]; then
echo "❌ The code is not properly formatted. Run 'yarn format' locally and commit the changes before submitting the PR."
exit 1
fi
# - name: Check for Uncommitted Changes
# run: |
# git config --global --add safe.directory $(pwd)
# git init
# if [[ -n $(git status --porcelain) ]]; then
# echo "❌ The code is not properly formatted. Run 'yarn format' locally and commit the changes before submitting the PR."
# exit 1
# fi

# - name: Notify Developer
# if: steps.format.outputs.has_issues == 'true'
Expand Down

0 comments on commit 4b4b4eb

Please sign in to comment.