From d408c284a04d0e71e40c5ade0889c87c56138614 Mon Sep 17 00:00:00 2001 From: JimiC Date: Sun, 17 Jun 2018 15:24:22 +0300 Subject: [PATCH] fix(windows): revert writing all possible cases of PATH variables --- index.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/index.js b/index.js index a6f76fe..4eb8325 100644 --- a/index.js +++ b/index.js @@ -122,9 +122,6 @@ function lifecycle_ (pkg, stage, wd, opts, env, cb) { if (env[PATH]) pathArr.push(env[PATH]) env[PATH] = pathArr.join(process.platform === 'win32' ? ';' : ':') - if (process.platform === 'win32') { - env.path = env.PATH = env.Path = env[PATH] - } var packageLifecycle = pkg.scripts && pkg.scripts.hasOwnProperty(stage)