From 495e7913edb813347162fdf2ece61f751ad42016 Mon Sep 17 00:00:00 2001 From: Dan Gowans Date: Fri, 24 Nov 2023 11:37:46 -0500 Subject: [PATCH] remove npx --- test/runEslint.mjs | 2 +- test/runEslint.mts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/runEslint.mjs b/test/runEslint.mjs index ccf558d..a2b1d98 100644 --- a/test/runEslint.mjs +++ b/test/runEslint.mjs @@ -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) => { diff --git a/test/runEslint.mts b/test/runEslint.mts index c309d6c..11f8352 100644 --- a/test/runEslint.mts +++ b/test/runEslint.mts @@ -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} ...`)