JamieMason/syncpack

View on GitHub
src/lib/show-help-on-error.ts

Summary

Maintainability
A
1 hr
Test Coverage
F
0%

Function showHelpOnError has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function showHelpOnError(program: Command) {
  program.showHelpAfterError(chalk`
1. The following options were replaced in syncpack@9.0.0:
{red
  -p, --prod              include dependencies
Severity: Minor
Found in src/lib/show-help-on-error.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status