lib/sync.js
Function sync
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Sync.prototype.sync = function(buildDestination) {
var homePrefix = path.join(this.home, path.sep),
s3Prefix = buildDestination
.substr(homePrefix.length)
.replace(/\\/g, '/'),