mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
chore(gulp-publish): convert spawn stream to string if it's not
This commit is contained in:
@ -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() {
|
||||
|
Reference in New Issue
Block a user