Skip to content

Commit

Permalink
addressing pr comment for normalizing path
Browse files Browse the repository at this point in the history
Signed-off-by: Atanas Atanasov <[email protected]>
  • Loading branch information
ata-nas committed Dec 5, 2024
1 parent b37fbc7 commit b0f2899
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ private Path getNormalizedPath(
@NonNull final String semanticPathName) {
final Path result;
if (StringUtilities.isBlank(pathToNormalize)) {
result = Path.of(defaultIfBlank).toAbsolutePath();
result = Path.of(defaultIfBlank).normalize().toAbsolutePath();
} else {
result = Path.of(pathToNormalize);
result = Path.of(pathToNormalize).normalize().toAbsolutePath();
}

if (!result.isAbsolute()) {
Expand Down

0 comments on commit b0f2899

Please sign in to comment.