mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-07-02 21:11:03 +12:00
Fix possible NPE
This commit is contained in:
parent
286c573ebd
commit
888fa3d92b
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue