Comparing version 2.2.15 to 2.2.16
@@ -5,9 +5,7 @@ var colors = require('./colors'); | ||
module.exports = function(){ | ||
var sig = '['+colors.green('gulp')+']'; | ||
var time = '['+colors.grey(date(new Date(), 'HH:MM:ss'))+']'; | ||
var args = Array.prototype.slice.call(arguments); | ||
args.unshift(time); | ||
args.unshift(sig); | ||
console.log.apply(console, args); | ||
return this; | ||
}; |
{ | ||
"name": "gulp-util", | ||
"description": "Utility functions for gulp plugins", | ||
"version": "2.2.15", | ||
"version": "2.2.16", | ||
"homepage": "http://github.com/wearefractal/gulp-util", | ||
@@ -6,0 +6,0 @@ "repository": "git://github.com/wearefractal/gulp-util.git", |
@@ -18,3 +18,3 @@ var util = require('../'); | ||
var time = util.date(new Date(), 'HH:MM:ss'); | ||
writtenValue.should.eql('['+util.colors.green('gulp')+'] [' + util.colors.grey(time) + '] 1 2 3 4 five\n'); | ||
writtenValue.should.eql('[' + util.colors.grey(time) + '] 1 2 3 4 five\n'); | ||
@@ -21,0 +21,0 @@ // Restore process.stdout.write |
24786
571