Skip to content

Commit

Permalink
Switch to contains so we can pass in baseline env instead of figuring…
Browse files Browse the repository at this point in the history
… out the buildtools version (#84)
  • Loading branch information
SDawley committed Aug 8, 2022
1 parent 988138c commit bb016ae
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -87,7 +87,7 @@ public void importData(Path inputFile) {
String build = variations.getProperty("build");
if ((build.equals(CURRENT_BUILD)) && (!CURRENT_SCENARIO_DATA.containsKey(scenarioID))) {
CURRENT_SCENARIO_DATA.put(scenarioID, sample);
} else if ((build.equals(BASELINE_BUILD)) && (!BASELINE_SCENARIO_DATA.containsKey(scenarioID))) {
} else if ((build.contains(BASELINE_BUILD)) && (!BASELINE_SCENARIO_DATA.containsKey(scenarioID))) {
BASELINE_SCENARIO_DATA.put(scenarioID, sample);
} else {
System.err.println("WARN: Input contains Data from the wrong build or baseline");
Expand Down

0 comments on commit bb016ae

Please sign in to comment.