Compare commits

..

No commits in common. "8e9503d0fb651f7938130167b946bf44a3ee1cb2" and "2e223e0f0d2b8fd9872cbadb8b7428e5f8b5556d" have entirely different histories.

3 changed files with 5 additions and 6 deletions

8
dist/index.js vendored

File diff suppressed because one or more lines are too long

View File

@ -44,7 +44,6 @@ export async function runSelfInstaller(inputs: Inputs): Promise<number> {
if (exitCode === 0) {
const pnpmHome = path.join(dest, 'node_modules/.bin')
addPath(pnpmHome)
addPath(path.join(pnpmHome, 'bin'))
exportVariable('PNPM_HOME', pnpmHome)
}
return exitCode

View File

@ -6,5 +6,5 @@ export const getBinDest = (inputs: Inputs): string => path.join(inputs.dest, 'no
export const patchPnpmEnv = (inputs: Inputs): NodeJS.ProcessEnv => ({
...process.env,
PATH: path.join(getBinDest(inputs), 'bin') + path.delimiter + getBinDest(inputs) + path.delimiter + process.env.PATH,
PATH: getBinDest(inputs) + path.delimiter + process.env.PATH,
})