From 5a5353e1e9d6fb10887cb1b09e79398d068aac7c Mon Sep 17 00:00:00 2001 From: Andrew <44983823+andrewvasilchuk@users.noreply.github.com> Date: Fri, 11 Nov 2022 22:43:35 +0200 Subject: [PATCH] refactor: remove return value from key check helpers --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index d2061ef..d360022 100644 --- a/index.js +++ b/index.js @@ -67,7 +67,7 @@ function checkIsSecretKey(key) { } if (typeof key === 'string') { - return key; + return; } if (!supportsKeyObjects) {