You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by an...@apache.org on 2015/03/11 12:41:57 UTC

cordova-lib git commit: CB-8634 Fixes missed merge/rebase issue

Repository: cordova-lib
Updated Branches:
  refs/heads/master 4d2059452 -> 5f0d7fcda


CB-8634 Fixes missed merge/rebase issue


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

Branch: refs/heads/master
Commit: 5f0d7fcda05af457e8cb3146568527758ce62cae
Parents: 4d20594
Author: Vladimir Kotikov <v-...@microsoft.com>
Authored: Wed Mar 11 14:41:42 2015 +0300
Committer: Vladimir Kotikov <v-...@microsoft.com>
Committed: Wed Mar 11 14:41:42 2015 +0300

----------------------------------------------------------------------
 cordova-lib/src/cordova/platform.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/5f0d7fcd/cordova-lib/src/cordova/platform.js
----------------------------------------------------------------------
diff --git a/cordova-lib/src/cordova/platform.js b/cordova-lib/src/cordova/platform.js
index a1a0234..03bd775 100644
--- a/cordova-lib/src/cordova/platform.js
+++ b/cordova-lib/src/cordova/platform.js
@@ -214,7 +214,7 @@ function downloadPlatform(projectRoot, platform, version, opts) {
             var parts = version.split('#');
             var git_url = parts[0];
             var branchToCheckout = parts[1];
-            return lazy_load.git_clone(git_url, branchToCheckout){
+            return lazy_load.git_clone(git_url, branchToCheckout).fail(function(err) {
                 // If it looks like a url, but cannot be cloned, try handling it differently.
                 // it's because it's a tarball of the form: 
                 //     - wp8@https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;a=snapshot;h=3.7.0;sf=tgz


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