AutolabJS/autolabcli

View on GitHub
lib/cli/output/prefs.js

Summary

Maintainability
A
1 hr
Test Coverage

Function sendOutput has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const sendOutput = (event) => {
  switch (event.name) {
    case 'lang_changed':
      console.log(chalk.green(`Your submission language has been changed to ${event.details.lang}`));
      break;
Severity: Minor
Found in lib/cli/output/prefs.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status