cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jso...@apache.org
Subject cordova-cli git commit: Fixing whitespace
Date Mon, 05 Jan 2015 20:13:04 GMT
Repository: cordova-cli
Updated Branches:
  refs/heads/master bfcb08fe5 -> 94f32e1b2


Fixing whitespace


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

Branch: refs/heads/master
Commit: 94f32e1b28ece0faa5ed8563720ec39e69e96afb
Parents: bfcb08f
Author: Josh Soref <jsoref@blackberry.com>
Authored: Mon Jan 5 15:11:44 2015 -0500
Committer: Josh Soref <jsoref@blackberry.com>
Committed: Mon Jan 5 15:11:44 2015 -0500

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


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/94f32e1b/src/cli.js
----------------------------------------------------------------------
diff --git a/src/cli.js b/src/cli.js
index 56bdda2..3ec1159 100644
--- a/src/cli.js
+++ b/src/cli.js
@@ -255,7 +255,7 @@ function cli(inputArgs) {
                           , undashed[3]  // App name
                           , cfg
         ).done();
-    } else if ( cmd == 'save' || cmd == 'restore') {
+    } else if (cmd == 'save' || cmd == 'restore') {
         if ( !args.experimental ) {
             msg =
                 'save and restore commands are experimental, please ' +
@@ -265,7 +265,7 @@ function cli(inputArgs) {
         }
         subcommand  = undashed[1];
         if (subcommand !== 'plugins' && subcommand !== 'platforms') {
-            throw new CordovaError('Specify what you want to '+ cmd + ', try "' + cordova_lib.binname
+ ' '+ cmd +' plugins" or "' + cordova_lib.binname + ' '+cmd+' platforms"');
+            throw new CordovaError('Specify what you want to ' + cmd + ', try "' + cordova_lib.binname
+ ' ' + cmd + ' plugins" or "' + cordova_lib.binname + ' ' + cmd + ' platforms"');
         }
         cordova.raw[cmd].call(null, subcommand, { shrinkwrap:args.shrinkwrap,
                                                     searchpath: args.searchpath }).done();


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message