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,9 +30,9 @@ module.exports = (input) => {
|
||||||
args[arg] = false;
|
args[arg] = false;
|
||||||
}
|
}
|
||||||
if (!ended) curr = arg;
|
if (!ended) curr = arg;
|
||||||
} else {
|
|
||||||
args[a.slice(2)] = true;
|
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
args[a.slice(2)] = true;
|
||||||
}
|
}
|
||||||
} else if (curr) {
|
} else if (curr) {
|
||||||
if (a.endsWith("\"")) {
|
if (a.endsWith("\"")) {
|
||||||
|
|
Loading…
Reference in a new issue