Skip to content

Commit

Permalink
DCA11Y-1145: normalize printed paths
Browse files Browse the repository at this point in the history
  • Loading branch information
flipatlas committed Sep 30, 2024
1 parent 710764d commit a816c38
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ private static String readNvmrcFile(File nvmrcFile, Path nvmrcFilePath, Logger l
List<String> lines = Files.readAllLines(nvmrcFilePath);
Optional<String> version = readNvmrcFileLines(lines);
if (version.isPresent()) {
logger.info("Found the version of Node in: " + nvmrcFilePath);
logger.info("Found the version of Node in: " + nvmrcFilePath.normalize());
}
return version.orElse(null);
}
Expand Down Expand Up @@ -213,7 +213,7 @@ static String readMiseConfigTomlFile(File miseTomlFile, Path miseTomlFilePath, L
continue;
}

logger.info("Found the version of Node in: " + miseTomlFilePath);
logger.info("Found the version of Node in: " + miseTomlFilePath.normalize());

if (trimmedLine.contains("[")) {
throw new Exception("mise file support is limited to a single version");
Expand Down Expand Up @@ -245,7 +245,7 @@ private static String readToolVersionsFile(File toolVersionsFile, Path toolVersi
continue;
}

logger.info("Found the version of Node in: " + toolVersionsFilePath);
logger.info("Found the version of Node in: " + toolVersionsFilePath.normalize());
return trimmedLine.replaceAll("node(js)?\\s*", "");
}
}
Expand Down

0 comments on commit a816c38

Please sign in to comment.