Fixed misplaced closing bracket in command parser
This commit is contained in:
parent
74ee8988bf
commit
8059fd1b77
1 changed files with 2 additions and 2 deletions
|
@ -30,10 +30,10 @@ module.exports = (input) => {
|
|||
args[arg] = false;
|
||||
}
|
||||
if (!ended) curr = arg;
|
||||
}
|
||||
} else {
|
||||
args[a.slice(2)] = true;
|
||||
}
|
||||
}
|
||||
} else if (curr) {
|
||||
if (a.endsWith("\"")) {
|
||||
args[curr] += a.slice(0, -1);
|
||||
|
|
Loading…
Reference in a new issue