okunishinishi/node-askconfig

View on GitHub

Showing 1 of 1 total issue

Function askconfig has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

async function askconfig (props, options = {}) {
  const args = argx(arguments)
  if (args.pop('function')) {
    throw new Error('Callback is no longer supported. Use promise interface instead.')
  }
Severity: Minor
Found in lib/askconfig.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language