mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-06-22 06:19:02 -04:00
Fix possible NPE
This commit is contained in:
@@ -100,6 +100,10 @@ public final class OpenFileSystemModel {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (fileSystem == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return new FileSystem.FileEntry(fileSystem, currentPath.get(), null, false, false, 0, null, FileKind.DIRECTORY);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user