cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [7/8] git commit: CB-6357 platform check: sort output
Date Thu, 27 Mar 2014 21:57:22 GMT
CB-6357 platform check: sort output


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

Branch: refs/heads/master
Commit: 69856ced27c10a89c82392b3226e84976cfaf73f
Parents: 4bc9e70
Author: Josh Soref <jsoref@blackberry.com>
Authored: Wed Mar 26 21:55:14 2014 -0400
Committer: Josh Soref <jsoref@blackberry.com>
Committed: Thu Mar 27 00:03:48 2014 -0400

----------------------------------------------------------------------
 src/platform.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/69856ced/src/platform.js
----------------------------------------------------------------------
diff --git a/src/platform.js b/src/platform.js
index 0470569..54b9dbf 100644
--- a/src/platform.js
+++ b/src/platform.js
@@ -185,7 +185,7 @@ function check(hooks, projectRoot) {
                 events._events = listeners;
                 shell.rm('-rf', scratch);
                 if (platformsText) {
-                    results = platformsText.filter(function (p) {return !!p}).join('\n');
+                    results = platformsText.filter(function (p) {return !!p}).sort().join('\n');
                 }
                 if (!results) {
                     results = 'All platforms are up-to-date.';


Mime
View raw message