cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject [2/8] android commit: Fix exception for unknown flag in `cordova/run`
Date Tue, 20 Jan 2015 03:04:23 GMT
Fix exception for unknown flag in `cordova/run`


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

Branch: refs/heads/4.0.x
Commit: d30a5e03883b0cb3dbe620b252148ef43856bd85
Parents: fcece7e
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Mon Jan 19 21:50:14 2015 -0500
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Mon Jan 19 21:50:14 2015 -0500

----------------------------------------------------------------------
 bin/templates/cordova/lib/run.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/d30a5e03/bin/templates/cordova/lib/run.js
----------------------------------------------------------------------
diff --git a/bin/templates/cordova/lib/run.js b/bin/templates/cordova/lib/run.js
index df8996d..ced23a0 100644
--- a/bin/templates/cordova/lib/run.js
+++ b/bin/templates/cordova/lib/run.js
@@ -50,7 +50,7 @@ var path  = require('path'),
         } else if (args[i] == '--list') {
             list = true;
         } else {
-            console.warn('Option \'' + options[i] + '\' not recognized (ignoring).');
+            console.warn('Option \'' + args[i] + '\' not recognized (ignoring).');
         }
     }
 


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


Mime
View raw message