You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2014/03/27 22:57:22 UTC

[7/8] git commit: CB-6357 platform check: sort output

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 <js...@blackberry.com>
Authored: Wed Mar 26 21:55:14 2014 -0400
Committer: Josh Soref <js...@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.';