* Print out the exit reason if this generator is told to exit before it ends
()
| 468 | * Print out the exit reason if this generator is told to exit before it ends |
| 469 | */ |
| 470 | async end() { |
| 471 | if (this.shouldExit()) { |
| 472 | debug(this.exitGeneration); |
| 473 | this.log( |
| 474 | chalk.red(g.f('Generation is aborted: %s', this.exitGeneration)), |
| 475 | ); |
| 476 | // Fail the process |
| 477 | process.exitCode = 1; |
| 478 | return; |
| 479 | } |
| 480 | await this._runLintFix(); |
| 481 | } |
| 482 | |
| 483 | // Check all files being generated to ensure they succeeded |
| 484 | _isGenerationSuccessful() { |
nothing calls this directly
no test coverage detected