cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject git commit: CB-5638 Clean-up: remove unreachable info case from function
Date Thu, 13 Feb 2014 03:04:22 GMT
Updated Branches:
  refs/heads/master 78d098bbd -> d82238cd9


CB-5638 Clean-up: remove unreachable info case from function


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

Branch: refs/heads/master
Commit: d82238cd9815bbe3ef2fbace94053e5226ff2d40
Parents: 78d098b
Author: Josh Soref <jsoref@blackberry.com>
Authored: Wed Feb 12 22:03:45 2014 -0500
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Wed Feb 12 22:03:45 2014 -0500

----------------------------------------------------------------------
 src/cli.js | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/d82238cd/src/cli.js
----------------------------------------------------------------------
diff --git a/src/cli.js b/src/cli.js
index 15934c2..4c81892 100644
--- a/src/cli.js
+++ b/src/cli.js
@@ -114,10 +114,6 @@ module.exports = function CLI(inputArgs) {
         throw new CordovaError('Cordova does not know ' + cmd + '; try help for a list of
all the available commands.');
     }
 
-    if (cmd === "info") {
-        return cordova.info();
-    }
-
     if (cmd == 'emulate' || cmd == 'build' || cmd == 'prepare' || cmd == 'compile' || cmd
== 'run') {
         // Filter all non-platforms into options
         var platforms = require("../platforms");


Mime
View raw message