better naming as SHELL environment is CONSOLE idea/142.5271
authorSergey Simonchik <sergey.simonchik@jetbrains.com>
Tue, 29 Sep 2015 16:07:17 +0000 (19:07 +0300)
committerSergey Simonchik <sergey.simonchik@jetbrains.com>
Tue, 29 Sep 2015 16:07:17 +0000 (19:07 +0300)
platform/lang-impl/src/com/intellij/execution/configuration/EnvironmentVariablesData.java

index 68be1752b60f667e9e419921b97513441f86185c..b52e1046487c539eeb755a6b5503ff1abc164708 100644 (file)
@@ -115,10 +115,10 @@ public class EnvironmentVariablesData {
     parent.addContent(envsElement);
   }
 
-  public void configureCommandLine(@NotNull GeneralCommandLine commandLine, boolean shellParentEnvs) {
+  public void configureCommandLine(@NotNull GeneralCommandLine commandLine, boolean consoleParentEnvs) {
     if (myPassParentEnvs) {
-      commandLine.withParentEnvironmentType(shellParentEnvs ? GeneralCommandLine.ParentEnvironmentType.CONSOLE
-                                                            : GeneralCommandLine.ParentEnvironmentType.SYSTEM);
+      commandLine.withParentEnvironmentType(consoleParentEnvs ? GeneralCommandLine.ParentEnvironmentType.CONSOLE
+                                                              : GeneralCommandLine.ParentEnvironmentType.SYSTEM);
     }
     else {
       commandLine.withParentEnvironmentType(GeneralCommandLine.ParentEnvironmentType.NONE);