Removed quote detection from normal arguments
This commit is contained in:
parent
0483e68016
commit
bc2826ccbb
2 changed files with 1 additions and 10 deletions
|
@ -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} `;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue