Skip to content

Commit b99bdaa

Browse files
committed
Fix shadow-npm-bin name references
1 parent 50a376a commit b99bdaa

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

bin/npm-cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ const path = require('node:path')
66
const rootPath = path.join(__dirname, '..')
77
Module.enableCompileCache?.(path.join(rootPath, '.cache'))
88

9-
const shadowBin = require(path.join(rootPath, 'dist/shadow-bin.js'))
9+
const shadowBin = require(path.join(rootPath, 'dist/shadow-npm-bin.js'))
1010
shadowBin('npm')

bin/npx-cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ const path = require('node:path')
66
const rootPath = path.join(__dirname, '..')
77
Module.enableCompileCache?.(path.join(rootPath, '.cache'))
88

9-
const shadowBin = require(path.join(rootPath, 'dist/shadow-bin.js'))
9+
const shadowBin = require(path.join(rootPath, 'dist/shadow-npm-bin.js'))
1010
shadowBin('npx')

shadow-bin/npm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ const path = require('node:path')
66
const rootPath = path.join(__dirname, '..')
77
Module.enableCompileCache?.(path.join(rootPath, '.cache'))
88

9-
const shadowBin = require(path.join(rootPath, 'dist/shadow-bin.js'))
9+
const shadowBin = require(path.join(rootPath, 'dist/shadow-npm-bin.js'))
1010
shadowBin('npm')

shadow-bin/npx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ const path = require('node:path')
66
const rootPath = path.join(__dirname, '..')
77
Module.enableCompileCache?.(path.join(rootPath, '.cache'))
88

9-
const shadowBin = require(path.join(rootPath, 'dist/shadow-bin.js'))
9+
const shadowBin = require(path.join(rootPath, 'dist/shadow-npm-bin.js'))
1010
shadowBin('npx')

src/constants.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ const lazyRootPath = () => path.join(realpathSync.native(__dirname), '..')
559559

560560
const lazyShadowBinPath = () =>
561561
// Lazily access constants.rootPath.
562-
path.join(constants.rootPath, 'shadow-bin')
562+
path.join(constants.rootPath, 'shadow-npm-bin')
563563

564564
const lazyShadowNpmBinPath = () =>
565565
// Lazily access constants.distPath.

0 commit comments

Comments
 (0)