From e6eafa6ff1aa52e6a5daff198c3b219507af46be Mon Sep 17 00:00:00 2001 From: Priyansh Gupta Date: Mon, 6 Nov 2017 14:43:04 +0530 Subject: [PATCH] Use of triple equals instead of double equals triple equal should have been used in place of double equals. P.s For more such issues should we set up eslint for this project? --- src/behaviors/help.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/behaviors/help.js b/src/behaviors/help.js index 5d978e2..e16afb4 100644 --- a/src/behaviors/help.js +++ b/src/behaviors/help.js @@ -23,7 +23,7 @@ function printSpecificHelp (botNick, options) { } let helpAction = (botNick, options) => { - if(options.length == 0) { + if(options.length === 0) { return printGeneralHelp(botNick); } else { return printSpecificHelp(botNick, options);