Skip to content

Commit 5b400e7

Browse files
committed
fix(cordova): correct issue where node 6 shows numbers when printing from stdout. fixes #1078
1 parent d04ca78 commit 5b400e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/utils/cordova.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function arePluginsInstalled(baseDir) {
5959
* @return {Promise} Promise upon completion
6060
*/
6161
function installPlatform(platform) {
62-
log.info(('• You\'re trying to build for ' + platform + 'but don\'t have the platform installed yet.').yellow);
62+
log.info(('• You\'re trying to build for ' + platform + ' but don\'t have the platform installed yet.').yellow);
6363
log.info('∆ Installing ' + platform + ' for you.');
6464

6565
return promiseExec('cordova platform add ' + platform).then(function() {
@@ -75,7 +75,7 @@ function execCordovaCommand(optionList, isLiveReload, serveOptions) {
7575
var cordovaProcess = childProcess.exec('cordova ' + optionList.join(' '));
7676

7777
cordovaProcess.stdout.on('data', function(data) {
78-
log.info(data);
78+
log.info(data.toString());
7979
});
8080

8181
cordovaProcess.stderr.on('data', function(data) {

0 commit comments

Comments
 (0)