Skip to content

Commit

Permalink
remove npx
Browse files Browse the repository at this point in the history
  • Loading branch information
dangowans committed Nov 24, 2023
1 parent 0c2ac3c commit 495e791
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/runEslint.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { exec } from 'node:child_process';
const eslintCommand = 'npx eslint --exit-on-fatal-error ./test/test.ts';
const eslintCommand = 'eslint --exit-on-fatal-error ./test/test.ts';
console.log(`Running ${eslintCommand} ...`);
try {
exec(eslintCommand, (error, stdout, stderr) => {
Expand Down
2 changes: 1 addition & 1 deletion test/runEslint.mts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { exec } from 'node:child_process'

const eslintCommand = 'npx eslint --exit-on-fatal-error ./test/test.ts'
const eslintCommand = 'eslint --exit-on-fatal-error ./test/test.ts'

console.log(`Running ${eslintCommand} ...`)

Expand Down

0 comments on commit 495e791

Please sign in to comment.