From 8fa0b98c66a4c26f12f9450e6dde77242c5dc008 Mon Sep 17 00:00:00 2001 From: Minteck Date: Sun, 27 Mar 2022 22:51:09 +0200 Subject: Commit --- node_modules/genius-lyrics/dist/Utils.js | 40 ++++++++++++++++---------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'node_modules/genius-lyrics/dist/Utils.js') diff --git a/node_modules/genius-lyrics/dist/Utils.js b/node_modules/genius-lyrics/dist/Utils.js index 3d6b785..ad92b88 100644 --- a/node_modules/genius-lyrics/dist/Utils.js +++ b/node_modules/genius-lyrics/dist/Utils.js @@ -1,20 +1,20 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.checkConfig = void 0; -const checkConfig = (config) => { - if (!config || typeof config !== "object") { - return false; - } - if (config.requestOptions && typeof config.requestOptions !== "object") { - return false; - } - if (config.origin) { - if (typeof config.origin !== "object" || - (config.origin.api && typeof config.origin.api !== "string") || - (config.origin.url && typeof config.origin.url !== "string")) { - return false; - } - } - return true; -}; -exports.checkConfig = checkConfig; +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.checkConfig = void 0; +const checkConfig = (config) => { + if (!config || typeof config !== "object") { + return false; + } + if (config.requestOptions && typeof config.requestOptions !== "object") { + return false; + } + if (config.origin) { + if (typeof config.origin !== "object" || + (config.origin.api && typeof config.origin.api !== "string") || + (config.origin.url && typeof config.origin.url !== "string")) { + return false; + } + } + return true; +}; +exports.checkConfig = checkConfig; -- cgit