aboutsummaryrefslogtreecommitdiffstats
path: root/lang/js/src/Helpers.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lang/js/src/Helpers.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/lang/js/src/Helpers.js b/lang/js/src/Helpers.js
index b26f40fb..5064d03e 100644
--- a/lang/js/src/Helpers.js
+++ b/lang/js/src/Helpers.js
@@ -29,7 +29,6 @@ import { GPGME_Key } from "./Key";
export function toKeyIdArray(input){
if (!input){
- gpgme_error('MSG_NO_KEYS');
return [];
}
if (!Array.isArray(input)){
@@ -61,7 +60,6 @@ export function toKeyIdArray(input){
}
}
if (result.length === 0){
- gpgme_error('MSG_NO_KEYS');
return [];
} else {
return result;