From 8a73e1b407da096efad73ddc27b2a7459f7a4f2d Mon Sep 17 00:00:00 2001 From: Pihkaal Date: Sat, 28 Jun 2025 15:32:10 +0200 Subject: [PATCH] fix: wrong null check for answer --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index cf2f633..be60728 100644 --- a/src/index.ts +++ b/src/index.ts @@ -100,7 +100,7 @@ const askForGrinders = async (quest: QuestResult) => { } } - if (!answer) throw "unreachable"; + if (answer === null) throw "unreachable"; const exclude = answer .split(",")