refactor: simplify pass (trekexecute)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
051331a5ef
commit
7cb038cce3
2 changed files with 3 additions and 8 deletions
|
|
@ -353,11 +353,7 @@ function argsShellOpeners(text) {
|
|||
if (k !== second + 1) unreadable = true;
|
||||
k = skip(k + 1);
|
||||
}
|
||||
while (k < n) {
|
||||
if (text[k] === ' ' || text[k] === '\t') k += 1;
|
||||
else if (text[k] === '\\' && text[k + 1] === '\n') k += 2;
|
||||
else break;
|
||||
}
|
||||
while (text[k] === ' ' || text[k] === '\t') k = skip(k + 1);
|
||||
const start = k;
|
||||
let word = '';
|
||||
let quoted = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue