ubenzer/metalsmith-pattern-move

View on GitHub

Showing 1 of 1 total issue

Function plugin has 60 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function plugin(options) {
  options = normalize(options);
  options.cwd = s(options.cwd).ensureRight(path.sep).s;

  return function(files, metalsmith, done) {
Severity: Major
Found in lib/index.js - About 2 hrs to fix
    Severity
    Category
    Status
    Source
    Language