diff --git a/utils.ts b/utils.ts index 7620858..43122ab 100644 --- a/utils.ts +++ b/utils.ts @@ -173,7 +173,7 @@ function toCommand( } else if (typeof task === 'string') { if (scripts[task] != null) { const runTaskWithAgent = getCommand(agent, 'run', [task]) - await $`${runTaskWithAgent}` + await $`${serializeCommand(runTaskWithAgent)}` } else { await $`${task}` }