(input)
| 128 | |
| 129 | const shell: ShellRPC = { |
| 130 | async exec(input) { |
| 131 | calls.exec.push({ |
| 132 | command: input.command, |
| 133 | id: input.id, |
| 134 | cwd: input.cwd, |
| 135 | timeoutMs: input.timeoutMs, |
| 136 | }); |
| 137 | if (options.throwOnExec !== undefined) throw options.throwOnExec; |
| 138 | const id = input.id ?? mintedId; |
| 139 | return { id, events: makeStream(id) }; |
| 140 | }, |
| 141 | async getExec(input) { |
| 142 | calls.getExec.push({ id: input.id, after: input.after }); |
| 143 | return { id: input.id, events: makeStream(input.id) }; |
nothing calls this directly
no test coverage detected