Rally fix #81
This commit is contained in:
parent
5e5a774e34
commit
953dcb50cb
1 changed files with 4 additions and 2 deletions
|
@ -28,8 +28,10 @@ public class FilesHelper {
|
||||||
Path locationAsPath = Paths.get(location);
|
Path locationAsPath = Paths.get(location);
|
||||||
if (Files.notExists(locationAsPath) || Files.isRegularFile(locationAsPath))
|
if (Files.notExists(locationAsPath) || Files.isRegularFile(locationAsPath))
|
||||||
return System.getProperty("user.home");
|
return System.getProperty("user.home");
|
||||||
|
return location;
|
||||||
|
}
|
||||||
|
catch (Exception ignored){
|
||||||
|
return System.getProperty("user.home");
|
||||||
}
|
}
|
||||||
catch (Exception ignored){}
|
|
||||||
return location;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue