Skip to content

Commit

Permalink
parse new responses format
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianHuc committed Jan 31, 2025
1 parent 29b18f3 commit 8266cab
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ public static Map<String, Set<String>> extractConstraints(String message) {
String failingConstraints =
line.substring(line.indexOf("failing constraint") + "failing constraint".length())
.replace(':', ' ');


getPairFromString(failingConstraints, pairs);
}
}
Expand Down Expand Up @@ -188,6 +190,8 @@ private static void getPairFromString(String constraint, Map<String, Set<String>
String[] pair;
if (constraint.contains("-into-")) {
pair = constraint.split("-into-");
} else if (constraint.contains("---")) {
pair = constraint.split("---");
} else {
pair = constraint.split("\\.");
}
Expand Down

0 comments on commit 8266cab

Please sign in to comment.