mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-10-02 18:17:27 +13:00
Fix possible NPE
This commit is contained in:
parent
286c573ebd
commit
888fa3d92b
1 changed files with 4 additions and 0 deletions
|
@ -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