Fix NPE [release]

This commit is contained in:
crschnick 2023-06-22 19:18:47 +00:00
parent ac7140f8ae
commit c6efb9eec8

View file

@ -158,7 +158,7 @@ public final class OpenFileSystemModel {
TerminalHelper.open(adjustedPath, cmd);
}
});
return Optional.of(currentPath.get());
return Optional.ofNullable(currentPath.get());
}
// Evaluate optional links