Fix pruneStore
This commit is contained in:
parent
2546768411
commit
b1febf84ed
4 changed files with 13 additions and 6 deletions
8
src/utils/index.ts
Normal file
8
src/utils/index.ts
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import process from 'process'
|
||||
import path from 'path'
|
||||
import { Inputs } from '../inputs'
|
||||
|
||||
export const patchPnpmEnv = (inputs: Inputs): NodeJS.ProcessEnv => ({
|
||||
...process.env,
|
||||
PATH: inputs.binDest + path.delimiter + process.env.PATH
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue