Skip to content

Commit 559961b

Browse files
authored
Merge pull request #210 from barbosamaatheus/add_pa
Revert commit to fix realistic case path bug
2 parents e91e83c + 9448d3d commit 559961b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/main/services/outputProcessors/soot/ScenarioReader.groovy

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,13 @@ class ScenarioReader {
3939
}
4040

4141
static private String getCorrectScenarioDirectory(Object line, String outputPath, String projectName, String commitSHA) {
42-
if (line.containsKey("realistic case path")) {
42+
try{
4343
String realisticCasePath = line["realistic case path"]
4444
return getScenarioDirectory(outputPath, projectName, commitSHA, realisticCasePath)
45-
} else {
45+
}catch (Exception ignored){
4646
return getScenarioDirectory(outputPath, projectName, commitSHA)
4747
}
48+
4849
}
4950

5051
static private String getScenarioDirectory(String outputPath, String projectName, String commitSHA, String realisticCasePath) {

0 commit comments

Comments
 (0)