fix(PathManager): avoid calling Files method on paths that may not exist yet
Fixes
@@ -341,7 +341,7 @@ private void updateDirs() throws IOException {
Path homeModPath = homePath.resolve(MODULE_DIR);
Path modCachePath = homePath.resolve(MODULE_CACHE_DIR);
- if (Files.isSameFile(homePath, installPath)) {
+ if (homePath == installPath) {
return ImmutableList.of(modCachePath, homeModPath);
} else {
Path installModPath = installPath.resolve(MODULE_DIR);
