From 800a804ed1a25356a8077f928bdec8051d85d57f Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Wed, 13 Dec 2023 14:34:39 +0100 Subject: [PATCH] test: remove dependency on unshipped tools tools/node_modules is removed from the tarball so it should not be used as part of unit tests or benchmarks. Fixes: https://github.com/nodejs/node/issues/51145 --- benchmark/misc/startup-cli-version.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/misc/startup-cli-version.js b/benchmark/misc/startup-cli-version.js index 52ab6bc9f582f3..017df14a0ab2c5 100644 --- a/benchmark/misc/startup-cli-version.js +++ b/benchmark/misc/startup-cli-version.js @@ -10,7 +10,7 @@ const path = require('path'); // indispensible part of the CLI. const bench = common.createBenchmark(main, { cli: [ - 'tools/node_modules/eslint/bin/eslint.js', + 'deps/npm/bin/npx-cli.js', 'deps/npm/bin/npm-cli.js', 'deps/corepack/dist/corepack.js', ],