fix: align agent exec config

This commit is contained in:
Peter Steinberger
2026-01-18 04:37:15 +00:00
parent 55aff22274
commit 1ae415e395
5 changed files with 37 additions and 35 deletions

View File

@@ -185,7 +185,7 @@ function parseFirstToken(command: string): string | null {
const trimmed = command.trim();
if (!trimmed) return null;
const first = trimmed[0];
if (first === "\"" || first === "'") {
if (first === '"' || first === "'") {
const end = trimmed.indexOf(first, 1);
if (end > 1) return trimmed.slice(1, end);
return trimmed.slice(1);