We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78af86e commit cfbd974Copy full SHA for cfbd974
lib/run-task.js
@@ -172,7 +172,7 @@ module.exports = function runTask (task, options) {
172
newBasename = basename.replace('pnpx', 'pnpm') // eslint-disable-line no-process-env
173
}
174
175
- npmPath = newBasename === basename
+ npmPath = newBasename !== basename
176
? path.join(path.dirname(process.env.npm_execpath), newBasename)
177
: process.env.npm_execpath // eslint-disable-line no-process-env
178
0 commit comments