mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Stop overriding process.env
Overriding process.env removes case insensitivy for environment variables on Windows. (Causes problems with 'Path' vs 'PATH')
This commit is contained in:
committed by
Martijn Walraven
parent
8abbf3012f
commit
fdb705d1ed
5
tools/cordova/project.js
vendored
5
tools/cordova/project.js
vendored
@@ -634,7 +634,10 @@ mobile-config.js accordingly.`);
|
||||
|
||||
const oldEnv = process.env;
|
||||
if (env) {
|
||||
process.env = env;
|
||||
// this preserves case insensitivity for PATH on windows
|
||||
Object.keys(env).forEach(key => {
|
||||
process.env[key] = env[key];
|
||||
});
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user