Skip to content

Commit

Permalink
Fix start issue
Browse files Browse the repository at this point in the history
  • Loading branch information
wilwade committed Apr 2, 2024
1 parent 7f6b41a commit 4a24b44
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/bot/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 4a24b44

Please sign in to comment.