Skip to content

Commit 32613c9

Browse files
committed
Address PR comments
1 parent e51385e commit 32613c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/rush-lib/src/logic/InstallManager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1076,11 +1076,11 @@ export class InstallManager {
10761076
let setEnvironmentVariable: boolean = true;
10771077
console.log(`\nProcessing definition for environment variable: ${envVar}`);
10781078

1079-
if (process.env[envVar]) {
1079+
if (baseEnv.hasOwnProperty(envVar)) {
10801080
setEnvironmentVariable = false;
10811081
console.log(colors.yellow(`WARNING: Environment variable already defined:`));
10821082
console.log(` Name: ${envVar}`);
1083-
console.log(` Value set on the device: ${process.env[envVar]}`);
1083+
console.log(` Value set on the device: ${baseEnv[envVar]}`);
10841084
console.log(` Value set in rush.json: ${environmentVariables[envVar].value}`);
10851085

10861086
if (environmentVariables[envVar].override &&

0 commit comments

Comments
 (0)