gulp-awspublish
Advanced tools
Comparing version 0.0.0 to 0.0.1
@@ -88,3 +88,3 @@ var Readable = require('stream').Readable, | ||
module.exports.reporter = function() { | ||
return require('./log-reporter'); | ||
return require('./log-reporter')(); | ||
}; | ||
@@ -91,0 +91,0 @@ |
var pad = require('pad-component'), | ||
gutil = require('gutil'), | ||
through = require('through2'); | ||
gutil = require('gulp-util'), | ||
through = require('through2'); | ||
@@ -11,6 +11,10 @@ /** | ||
return through.obj(function (file, enc, cb) { | ||
gutil.log(pad.left(file.s3.state, 10), file.s3.path); | ||
var state; | ||
if (file.s3 && file.s3.state) { | ||
state = '[' + file.s3.state.toUpperCase() + ']'; | ||
state = pad.right(state, 8); | ||
gutil.log(gutil.colors.cyan(state), file.s3.path); | ||
} | ||
cb(null, file); | ||
}); | ||
}; | ||
{ | ||
"name": "gulp-awspublish", | ||
"version": "0.0.0", | ||
"version": "0.0.1", | ||
"description": "A plugin for Gulp", | ||
@@ -33,3 +33,3 @@ "keywords": [ | ||
"clone": "0.x", | ||
"s3-lister": "~0.1.0" | ||
"pad-component": "0.x" | ||
}, | ||
@@ -36,0 +36,0 @@ "devDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16884
12
343
+ Addedpad-component@0.x
+ Addedpad-component@0.0.1(transitive)
- Removeds3-lister@~0.1.0
- Removeds3-lister@0.1.0(transitive)