Skip to content

Commit

Permalink
chore: pd should not switch to another version of pnpm (#8930)
Browse files Browse the repository at this point in the history
close #8928
  • Loading branch information
zkochan committed Dec 30, 2024
1 parent dec8a47 commit db01197
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pnpm/dev/pd.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,11 @@ const pnpmPackageJson = JSON.parse(fs.readFileSync(pathLib.join(__dirname, 'pack

// Invoke the script just built by esbuild, with Node's sourcemaps enabled
const { status } = childProcess.spawnSync(nodeBin, ['--enable-source-maps', pathLib.resolve(__dirname, 'dist/pnpm.cjs'), ...process.argv.slice(2)], {
stdio: 'inherit'
stdio: 'inherit',
env: {
// During local development we don't want to switch to another version of pnpm
npm_config_manage_package_manager_versions: false,
},
})
process.exit(status)
})()

0 comments on commit db01197

Please sign in to comment.