Skip to content

Commit

Permalink
correct error
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Sep 9, 2024
1 parent 744a8aa commit 60eb91b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1396,7 +1396,7 @@ public boolean checkDependencyInEnv(String envName, String dependency) throws Ma
} else if (dependency.contains(">") && dependency.contains("<") && dependency.contains(",")) {
int commaInd = dependency.indexOf(",");
int highInd = dependency.indexOf(">");
int lowInd = dependency.indexOf(">");
int lowInd = dependency.indexOf("<");
int minInd = Math.min(Math.min(commaInd, lowInd), highInd);
String packName = dependency.substring(0, minInd).trim();
String minV = dependency.substring(lowInd + 1, lowInd < highInd ? commaInd : dependency.length());
Expand Down

0 comments on commit 60eb91b

Please sign in to comment.