Skip to content

Commit

Permalink
task-3590: revert changes from Expression Operators as its getting ca…
Browse files Browse the repository at this point in the history
…ught in condition Generator
  • Loading branch information
PayalKhanna committed Nov 6, 2023
1 parent ad6b1f6 commit fd229b4
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,7 @@ public static <T> ComparisonResult exists(Mapper<T> o) {
if (o.resultCount()>0) {
return ComparisonResult.success();
}
String failureMessage = null;
if (o.getErrorPaths()!= null && !o.getErrorPaths().isEmpty() && !o.getErrorPaths().toString().contains("Null")){
failureMessage = o.getErrorPaths() + " does not exist";
}
return ComparisonResult.failure(failureMessage);
return ComparisonResult.failure(o.getErrorPaths() + " does not exist");
}

// singleExists
Expand Down

0 comments on commit fd229b4

Please sign in to comment.