GODT-35: Finish all details and make tests pass

This commit is contained in:
Michal Horejsek
2021-03-11 14:37:15 +01:00
committed by Jakub
parent 2284e9ede1
commit 8109831c07
173 changed files with 4697 additions and 2897 deletions

View File

@ -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")
}