()
| 282 | } |
| 283 | |
| 284 | private async relaunch(): Promise<void> { |
| 285 | this.disposeChild() |
| 286 | try { |
| 287 | this.started = this._start() |
| 288 | await this.started |
| 289 | } catch (error: any) { |
| 290 | this.logger.error(error.message) |
| 291 | this.exit(typeof error.code === "number" ? error.code : 1) |
| 292 | } |
| 293 | } |
| 294 | |
| 295 | public start(args: DefaultedArgs): Promise<void> { |
| 296 | // Our logger was created before we parsed CLI arguments so update the level |
no test coverage detected