Skip to content
This repository was archived by the owner on Aug 11, 2021. It is now read-only.

Commit 8fcaa21

Browse files
JimiCzkat
authored andcommitted
fix(windows): revert writing all possible cases of PATH variables (#22)
Fixes: #20
1 parent 94c1a45 commit 8fcaa21

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,6 @@ function lifecycle_ (pkg, stage, wd, opts, env, cb) {
122122

123123
if (env[PATH]) pathArr.push(env[PATH])
124124
env[PATH] = pathArr.join(process.platform === 'win32' ? ';' : ':')
125-
if (process.platform === 'win32') {
126-
env.path = env.PATH = env.Path = env[PATH]
127-
}
128125

129126
var packageLifecycle = pkg.scripts && pkg.scripts.hasOwnProperty(stage)
130127

0 commit comments

Comments
 (0)