Skip to content

Commit

Permalink
improve
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosuc3m committed Apr 17, 2024
1 parent 5ed161a commit 5793762
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1331,11 +1331,14 @@ public List<String> checkUninstalledDependenciesInEnv(String envName, List<Stri
return dependencies;
List<String> uninstalled = dependencies.stream().filter(dep -> {
try {
/** TODO remove
int ind = dep.indexOf("=");
if (ind == -1) return !checkDependencyInEnv(envName, dep);
String packName = dep.substring(0, ind);
String vv = dep.substring(ind + 1);
return !checkDependencyInEnv(envName, packName, vv);
return !checkDependencyInEnv(envName, packName, vv);
*/
return checkDependencyInEnv(envName, dep);
} catch (Exception ex) {
return true;
}
Expand Down

0 comments on commit 5793762

Please sign in to comment.