ReplayFileIO#makeFolderFromPath removes dots (.) from file path to not confuse Windows File Systems. before: /eclipse/./replay_videos/, after: /eclipse/replay_videos/
This commit is contained in:
@@ -42,7 +42,7 @@ public class ReplayFileIO {
|
||||
}
|
||||
|
||||
private static File makeFolderFromPath(String path) throws IOException {
|
||||
File folder = new File(path);
|
||||
File folder = new File(new File(path).toPath().normalize().toUri());
|
||||
FileUtils.forceMkdir(folder);
|
||||
return folder;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user