fix(headless): correct log message to show actual command format

The log message said '/sf ${command}' but the actual command sent is
'/${command}' (without the sf namespace). Fix to match actual dispatch.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Mikael Hugo 2026-05-12 17:04:11 +02:00
parent 16db710468
commit d22df007a7

View file

@ -1935,7 +1935,7 @@ async function runHeadlessOnce(
if (!options.json) {
writeHeadlessLine(
`[headless] Running /sf ${options.command}${options.commandArgs.length > 0 ? " " + options.commandArgs.join(" ") : ""}...`,
`[headless] Running /${options.command}${options.commandArgs.length > 0 ? " " + options.commandArgs.join(" ") : ""}...`,
);
}