( step: unknown, stepNumber: number, nestedCommands: readonly string[], )
| 125 | } |
| 126 | |
| 127 | function readBatchStep( |
| 128 | step: unknown, |
| 129 | stepNumber: number, |
| 130 | nestedCommands: readonly string[], |
| 131 | ): BatchCommandStep { |
| 132 | const record = readBatchStepRecord(step, stepNumber, batchPlainError); |
| 133 | assertAllowedKeys(record, ['command', 'input', 'runtime'], `Batch step ${stepNumber}`); |
| 134 | return { |
| 135 | command: readBatchStepCommand(record, stepNumber, nestedCommands), |
| 136 | input: readBatchStepInputObject(record, stepNumber, batchPlainError), |
| 137 | ...readBatchStepRuntimeProperty(record, stepNumber), |
| 138 | }; |
| 139 | } |
| 140 | |
| 141 | function readBatchStepCommand( |
| 142 | record: Record<string, unknown>, |
no test coverage detected
searching dependent graphs…