We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85e8d4f commit 019290dCopy full SHA for 019290d
uberjar/src/test/java/io/fabric8/kubernetes/clnt/UberJarTest.java
@@ -159,8 +159,7 @@ private String getMinorVersion(String projectVersion) {
159
}
160
161
private File getFileInDirectory(File parentFile, String pathToFile) {
162
- String toReplaceChar = File.separator.equals("/") ? File.separator : "\\\\";
163
- pathToFile = pathToFile.replaceAll("/", toReplaceChar);
+ pathToFile = pathToFile.replace('/', File.separatorChar);
164
return new File(parentFile, pathToFile);
165
166
0 commit comments