(error: unknown)
| 137 | |
| 138 | return new Promise((resolve, reject) => { |
| 139 | const launchFailure = (error: unknown): StoreError => |
| 140 | new StoreError( |
| 141 | `Could not launch ${command.label}: ${asErrorMessage(error)}`, |
| 142 | 'workset_launch_failed', |
| 143 | { |
| 144 | target: 'workset.tool', |
| 145 | fix: `Check that '${command.executable}' runs from this terminal, or pass --tool with another installed tool.`, |
| 146 | } |
| 147 | ); |
| 148 | |
| 149 | let child: ReturnType<typeof spawnFn>; |
| 150 | try { |
no test coverage detected