Skip to content

Commit 991b2e2

Browse files
committed
introduced bug in windows systems with spaces in filesystem
1 parent 35e9605 commit 991b2e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎koans-lib/src/com/sandwich/util/io/directories/DirectorySet.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public String getDataDir(){
3939
}
4040

4141
private static String createBaseDir() {
42-
File dir = new File(Thread.currentThread().getContextClassLoader().getResource(".").getFile());
42+
File dir = new File(Thread.currentThread().getContextClassLoader().getResource(".").getFile().replace("%20", " "));
4343
if (dir.exists()) {
4444
dir = dir.getParentFile();
4545
if (dir.exists()) {

0 commit comments

Comments
 (0)