[updater] dropping directory R/O check (IDEA-261720)

Unreliable on Windows, and there's no need to - already performed on the IDE side.

GitOrigin-RevId: 4e5c4cac9a6bfe6f9bf66cc115f12e232557c462
This commit is contained in:
Roman Shevchenko
2021-02-09 21:11:56 +01:00
committed by intellij-monorepo-bot
parent a0a326aa77
commit fd05bd73e1

View File

@@ -36,7 +36,6 @@ public class Utils {
Path dir = Paths.get(path);
if (!Files.isDirectory(dir)) throw new IOException("Not a directory: " + dir);
if (!Files.isWritable(dir)) throw new IOException("Not writable: " + dir);
if (REQUIRED_FREE_SPACE > 0) {
FileStore fs = Files.getFileStore(dir);