Skip to content

Commit e8ba8f7

Browse files
salimbouchhohwille
andauthored
Update cli/src/main/java/com/devonfw/tools/ide/property/RepositoryProperty.java
Co-authored-by: Jörg Hohwiller <[email protected]>
1 parent 8a35bbd commit e8ba8f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/src/main/java/com/devonfw/tools/ide/property/RepositoryProperty.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public Path getValueAsPath(IdeContext context) {
5757
Path repositoryFile = Path.of(value);
5858

5959
if (!Files.exists(repositoryFile)) {
60-
repositoryFile = repositoriesPath.resolve(repositoryFile.getFileName().toString() + ".properties");
60+
repositoryFile = repositoriesPath.resolve(value + ".properties");
6161
}
6262
if (!Files.exists(repositoryFile)) {
6363
Path legacyRepositoryFile = legacyRepositoriesPath.resolve(repositoryFile.getFileName().toString());

0 commit comments

Comments
 (0)