From be2f7d7a8ad97daee026fbfd9f08181b5256ab81 Mon Sep 17 00:00:00 2001 From: Justin Wark Date: Mon, 23 Dec 2013 09:19:51 +1100 Subject: [PATCH] Remove 2 X console.log from exec.js With these console.log statements the output from commands such as 'list-devices' is very messy and hence difficult to parse the output programatically. --- bin/templates/cordova/lib/exec.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/bin/templates/cordova/lib/exec.js b/bin/templates/cordova/lib/exec.js index 6afa9c0d..b1e581b2 100644 --- a/bin/templates/cordova/lib/exec.js +++ b/bin/templates/cordova/lib/exec.js @@ -27,10 +27,8 @@ var child_process = require('child_process'), // rejects with an error message and the stderr. module.exports = function(cmd, opt_cwd) { var d = Q.defer(); - console.log('exec: ' + cmd); try { child_process.exec(cmd, {cwd: opt_cwd}, function(err, stdout, stderr) { - console.log([cmd, err, stdout, stderr]); if (err) d.reject('Error executing "' + cmd + '": ' + stderr); else d.resolve(stdout); });