From 4a24b4478fc28a1e30b6e60c1d55639389367ae4 Mon Sep 17 00:00:00 2001 From: Wil Wade Date: Tue, 2 Apr 2024 17:27:57 +0000 Subject: [PATCH] Fix start issue --- src/bot/index.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/bot/index.ts b/src/bot/index.ts index dc1d54be..3f903d85 100644 --- a/src/bot/index.ts +++ b/src/bot/index.ts @@ -20,10 +20,7 @@ const deployedRef = config.Get("DEPLOYED_REF"); const networkName = config.Get("NETWORK"); const networkData = getNetworkData(networkName); -const ignoreList = config - .Get("FAUCET_IGNORE_LIST") - .split(",") - .map((item) => item.replace('"', "")); +const ignoreList = (config.Get("FAUCET_IGNORE_LIST") || "").split(",").map((item) => item.replace('"', "")); // Show the ignore list at start if any if (ignoreList.length > 0) {