(requested: string | undefined)
| 161 | } |
| 162 | |
| 163 | #backend(requested: string | undefined): string { |
| 164 | const backend = this.#options.resolveBackendId(requested); |
| 165 | if (!backend) { |
| 166 | throw new Error( |
| 167 | "Workspace has no execution backend configured. Pass `backends` to the Workspace constructor.", |
| 168 | ); |
| 169 | } |
| 170 | return backend; |
| 171 | } |
| 172 | } |
| 173 | |
| 174 | function wrapCommandHandle<E extends ExecEncoding>( |
no outgoing calls
no test coverage detected