You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2013/12/23 14:55:06 UTC

android commit: Remove 2 X console.log from exec.js

Updated Branches:
  refs/heads/master 59c8e8b46 -> be2f7d7a8


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.


Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/be2f7d7a
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/be2f7d7a
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/be2f7d7a

Branch: refs/heads/master
Commit: be2f7d7a8ad97daee026fbfd9f08181b5256ab81
Parents: 59c8e8b
Author: Justin Wark <ju...@gmail.com>
Authored: Mon Dec 23 09:19:51 2013 +1100
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Mon Dec 23 08:54:46 2013 -0500

----------------------------------------------------------------------
 bin/templates/cordova/lib/exec.js | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/be2f7d7a/bin/templates/cordova/lib/exec.js
----------------------------------------------------------------------
diff --git a/bin/templates/cordova/lib/exec.js b/bin/templates/cordova/lib/exec.js
index 6afa9c0..b1e581b 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);
         });