Skip to content

Commit

Permalink
devonfw#36: Change for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aBega2000 committed May 16, 2024
1 parent 02ac6f3 commit f384758
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,11 @@ private ToolInstallation createToolInstallation(Path rootDir, VersionIdentifier
@Override
public void runTool(ProcessMode processMode, VersionIdentifier toolVersion, String... args) {

setDependencyRepository(getConfiguredVersion());
if (Files.exists(this.dependency.getDependencyJsonPath(getEdition()))) {
setDependencyRepository(getConfiguredVersion());
} else {
this.context.trace("No Dependencies file found");
}

Path binaryPath;
Path toolPath = Path.of(getBinaryName());
Expand Down

0 comments on commit f384758

Please sign in to comment.