chore(gulp-publish): convert spawn stream to string if it's not

This commit is contained in:
Tim Lancina
2015-12-22 14:23:24 -06:00
parent e4628d8997
commit 9395ed14f7

View File

@ -429,11 +429,11 @@ gulp.task('publish', ['src'], function(done){
var npmCmd = spawn('npm', ['publish', './' + distDir]);
npmCmd.stdout.on('data', function (data) {
console.log(data);
console.log(data.toString());
});
npmCmd.stderr.on('data', function (data) {
console.log('npm err: ' + data);
console.log('npm err: ' + data.toString());
});
npmCmd.on('close', function() {