You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by bh...@apache.org on 2014/01/03 21:15:41 UTC

webworks commit: CB-5726 - Fix run script PIN detection

Updated Branches:
  refs/heads/master e8ed2df6c -> 9f93e17bc


CB-5726 - Fix run script PIN detection


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

Branch: refs/heads/master
Commit: 9f93e17bcf70feaaa073dd4413faae6577ebf3a4
Parents: e8ed2df
Author: Bryan Higgins <bh...@blackberry.com>
Authored: Fri Jan 3 15:15:11 2014 -0500
Committer: Bryan Higgins <bh...@blackberry.com>
Committed: Fri Jan 3 15:15:11 2014 -0500

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


http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/9f93e17b/blackberry10/bin/templates/project/cordova/lib/run-utils.js
----------------------------------------------------------------------
diff --git a/blackberry10/bin/templates/project/cordova/lib/run-utils.js b/blackberry10/bin/templates/project/cordova/lib/run-utils.js
index 90c4a55..5f74615 100644
--- a/blackberry10/bin/templates/project/cordova/lib/run-utils.js
+++ b/blackberry10/bin/templates/project/cordova/lib/run-utils.js
@@ -123,7 +123,7 @@ function validateTarget(options, targetName, allDone) {
 
         if (!deployTarget.pin) {
             runTasks.push(function (done) {
-                targetUtils.getDeviceInfo.bind(deployTarget.ip, deployTarget.devicePass, function (err, result) {
+                targetUtils.getDeviceInfo(deployTarget.ip, deployTarget.password, function (err, result) {
                     deployTarget.pin = result.pin;
                     done(err);
                 });