Skip to content

Commit

Permalink
fix eslint command
Browse files Browse the repository at this point in the history
  • Loading branch information
wujingya committed Jul 24, 2020
1 parent 50ba393 commit e0ced87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/eslint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ jobs:
working-directory: ubg
- name: Lint
# Run ESLint on diffed JS files. Do not run if there are no diffs.
run: git diff --diff-filter=ACM --name-only origin/master HEAD -- . ':!node_modules' | grep -E "(.*)\.(jsx|js)$" | xargs --no-run-if-empty npx eslint
run: git diff --relative --diff-filter=ACM --name-only origin/master HEAD -- . ':!node_modules' | grep -E "(.*)\.(jsx|js)$" | xargs --no-run-if-empty npx eslint
working-directory: ubg

0 comments on commit e0ced87

Please sign in to comment.