mbland/pages-server

View on GitHub
lib/sync.js

Summary

Maintainability
A
1 hr
Test Coverage

Function sync has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

Sync.prototype.sync = function(buildDestination) {
  var homePrefix = path.join(this.home, path.sep),
      s3Prefix = buildDestination
        .substr(homePrefix.length)
        .replace(/\\/g, '/'),
Severity: Minor
Found in lib/sync.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status