Codibre/anypm

View on GitHub
src/lib/replace-npm.ts

Summary

Maintainability
A
1 hr
Test Coverage
F
50%

Function replaceNpm has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export async function replaceNpm() {
    console.info('If you use Linux, add this to your .zshrc or .bashrc:');
    console.info('-----------------------------------------------------');
    console.info(`replacenpm() {
  alias realnpm=$(which npm)
Severity: Minor
Found in src/lib/replace-npm.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status