mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-21 23:20:23 +00:00
Fix possible NPE
This commit is contained in:
parent
f1742ce37d
commit
d60fff969b
1 changed files with 1 additions and 1 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Reference in a new issue