Removed quote detection from normal arguments

This commit is contained in:
Essem 2021-07-08 21:03:19 -05:00
parent 0483e68016
commit bc2826ccbb
No known key found for this signature in database
GPG key ID: 7D497397CC3A2A8C
2 changed files with 1 additions and 10 deletions

View file

@ -39,16 +39,6 @@ module.exports = (input) => {
} else {
args[curr] += `${a} `;
}
} else if (a.startsWith("\"")) {
if (a.endsWith("\"")) {
args.push(a.slice(1).slice(0, -1));
} else {
concated += `${a.slice(1)} `;
}
} else if (a.endsWith("\"")) {
concated += a.slice(0, -1);
args._.push(concated);
concated = "";
} else {
if (concated !== "") {
concated += `${a} `;