Function
createAbortedCommand
(
backgroundTaskId?: string,
opts?: { stderr?: string; code?: number },
)
Source from the content-addressed store, hash-verified
| 435 | } |
| 436 | |
| 437 | export function createAbortedCommand( |
| 438 | backgroundTaskId?: string, |
| 439 | opts?: { stderr?: string; code?: number }, |
| 440 | ): ShellCommand { |
| 441 | return new AbortedShellCommand({ |
| 442 | backgroundTaskId, |
| 443 | ...opts, |
| 444 | }) |
| 445 | } |
| 446 | |
| 447 | export function createFailedCommand(preSpawnError: string): ShellCommand { |
| 448 | const taskOutput = new TaskOutput(generateTaskId('local_bash'), null) |
Tested by
no test coverage detected