({
latestCommandOutput,
error,
}: {
latestCommandOutput: CommandOutput;
error: Error;
})
| 99 | } |
| 100 | |
| 101 | function addError({ |
| 102 | latestCommandOutput, |
| 103 | error, |
| 104 | }: { |
| 105 | latestCommandOutput: CommandOutput; |
| 106 | error: Error; |
| 107 | }) { |
| 108 | latestCommandOutput.error = error; |
| 109 | } |
| 110 | |
| 111 | function getLatestCommandResult(latestCommandOutput?: CommandOutput) { |
| 112 | assert(latestCommandOutput); |