forked from Silverfish/proton-bridge
GODT-35: Finish all details and make tests pass
This commit is contained in:
@ -105,6 +105,10 @@ func (h *macOSHelper) Get(secretURL string) (string, string, error) {
|
||||
return "", "", err
|
||||
}
|
||||
|
||||
if len(results) == 0 {
|
||||
return "", "", errors.New("no result")
|
||||
}
|
||||
|
||||
if len(results) != 1 {
|
||||
return "", "", errors.New("ambiguous results")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user