Skip to content

Commit

Permalink
remove unixPath changes
Browse files Browse the repository at this point in the history
  • Loading branch information
katerina20 committed Jan 5, 2024
1 parent 1e585fc commit 70a56ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/crowdin/cli/utils/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public static String unixPath(String path) {
}
return isWindows()
? path.replaceAll("[\\\\/]+", "/")
: path.replaceAll("\\\\{2,}", "/").replaceAll("/+", "/");
: path.replaceAll("\\\\+", "/").replaceAll("/+", "/");
}

public static String windowsPath(String path) {
Expand Down

0 comments on commit 70a56ae

Please sign in to comment.