sync EnvironmentVariablesData#readExternal with #writeExternal
authorSergey Simonchik <sergey.simonchik@jetbrains.com>
Fri, 14 Aug 2015 15:55:10 +0000 (18:55 +0300)
committerSergey Simonchik <sergey.simonchik@jetbrains.com>
Fri, 14 Aug 2015 15:55:10 +0000 (18:55 +0300)
platform/lang-impl/src/com/intellij/execution/configuration/EnvironmentVariablesData.java

index 1f4a7b9083ec12cca858c349c6eaa4657144ba08..9550f29db3857232056f08f79f91c0bc59048470 100644 (file)
@@ -83,7 +83,7 @@ public class EnvironmentVariablesData {
       return DEFAULT;
     }
     Map<String, String> envs = ImmutableMap.of();
-    String passParentEnvsStr = element.getAttributeValue(PASS_PARENT_ENVS);
+    String passParentEnvsStr = envsElement.getAttributeValue(PASS_PARENT_ENVS);
     boolean passParentEnvs = passParentEnvsStr == null || Boolean.parseBoolean(passParentEnvsStr);
     for (Element envElement : envsElement.getChildren(ENV)) {
       String envName = envElement.getAttributeValue(NAME);