Skip to content

Commit

Permalink
Try using local install instead of npx
Browse files Browse the repository at this point in the history
  • Loading branch information
sheck committed Oct 3, 2024
1 parent 627061e commit 2409199
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async function run() {
core.debug(`Changed files: ${changedFiles}`)

let { stdout: eslintOut } = await getExecOutput(
"npx eslint --format=json",
"node_modules/.bin/eslint --format=json",
changedFiles,
// Eslint will return exit code 1 if it finds linting problems, but that is
// expected and we don't want to stop execution because of it.
Expand Down

0 comments on commit 2409199

Please sign in to comment.