(result: DevcontainerUpResultLine)
| 118 | } |
| 119 | |
| 120 | export function shouldCleanupDevcontainer(result: DevcontainerUpResultLine): boolean { |
| 121 | return ( |
| 122 | result.outcome === "error" && |
| 123 | typeof result.containerId === "string" && |
| 124 | result.containerId.trim().length > 0 |
| 125 | ); |
| 126 | } |
| 127 | /** Output from `devcontainer up` command */ |
| 128 | export interface DevcontainerUpResult { |
| 129 | containerId: string; |
no outgoing calls
no test coverage detected