cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject [2/7] android commit: Fix exception for unknown flag in `cordova/run`
Date Tue, 20 Jan 2015 03:06:00 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/73751542
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/73751542
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/73751542

Branch: refs/heads/3.7.x
Commit: 7375154228f96671fc3af9df2f7ad80c08518103
Parents: 1427c13
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 22:05:21 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/73751542/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