okunishinishi/node-fileconcat

View on GitHub

Showing 2 of 2 total issues

Function fileconcat has 56 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function fileconcat (src, dest, options = {}) {
  let args = argx(arguments)
  if (args.pop('function')) {
    throw new Error('Callback is no more supported. Use promise interface')
  }
Severity: Major
Found in lib/fileconcat.js - About 2 hrs to fix

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

    function _append (src, dest, options) {
      function _marker (marker) {
        if (!marker) {
          return null
        }
    Severity: Minor
    Found in lib/_append.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language