From 82a7f23436cd0912e27611d5b3f50ac43ebeaa94 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sat, 11 Apr 2020 11:37:24 -0400 Subject: [PATCH] Fix lint --- commands/auto/suicide-hotline.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/auto/suicide-hotline.js b/commands/auto/suicide-hotline.js index 142528c0..f49dc1b8 100644 --- a/commands/auto/suicide-hotline.js +++ b/commands/auto/suicide-hotline.js @@ -22,7 +22,7 @@ module.exports = class SuicideHotlineCommand extends Command { generateText(fromPattern) { const text = 'Call 1-800-273-8255 for the National Suicide Prevention Lifeline.'; - if (!fromPattern) text; + if (!fromPattern) return text; return `Don't say that. Get help. ${text}`; } };