mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-10-08 16:11:27 +00:00
Fix possible NPE
This commit is contained in:
1 parent
f1742ce37d
commit
d60fff969b
1 file changed
+1
-1
@@ -114,7 +114,7 @@ public interface SecretRetrievalStrategy {
|
||||
public SecretQueryResult query(String prompt) {
|
||||
var cmd = AppPrefs.get().passwordManagerString(key);
|
||||
if (cmd == null) {
|
||||
return null;
|
||||
return new SecretQueryResult(null, true);
|
||||
}
|
||||
|
||||
try (var cc = new LocalStore().control().command(cmd).start()) {
|
||||
|
||||
Reference in new issue
Block a user