From 8059fd1b77bade0fbeaf11d6234116a9a4309ea7 Mon Sep 17 00:00:00 2001 From: Essem Date: Mon, 12 Jul 2021 21:56:53 -0500 Subject: [PATCH] Fixed misplaced closing bracket in command parser --- utils/parseCommand.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/parseCommand.js b/utils/parseCommand.js index f099489..5ccec84 100644 --- a/utils/parseCommand.js +++ b/utils/parseCommand.js @@ -30,9 +30,9 @@ module.exports = (input) => { args[arg] = false; } if (!ended) curr = arg; - } else { - args[a.slice(2)] = true; } + } else { + args[a.slice(2)] = true; } } else if (curr) { if (a.endsWith("\"")) {