cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [3/8] cordova-lib git commit: CB-8551: removed unnecessary fail method in fetch
Date Thu, 05 Mar 2015 00:37:32 GMT
CB-8551: removed unnecessary fail method in fetch


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

Branch: refs/heads/CB-8551
Commit: aac6a1b138b06b5fc8ac538aa6b07c2bea659537
Parents: d9d956b
Author: Steve Gill <stevengill97@gmail.com>
Authored: Tue Mar 3 16:46:00 2015 -0800
Committer: Steve Gill <stevengill97@gmail.com>
Committed: Tue Mar 3 16:46:00 2015 -0800

----------------------------------------------------------------------
 cordova-lib/src/plugman/fetch.js | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/aac6a1b1/cordova-lib/src/plugman/fetch.js
----------------------------------------------------------------------
diff --git a/cordova-lib/src/plugman/fetch.js b/cordova-lib/src/plugman/fetch.js
index 4e58a68..dd78c84 100644
--- a/cordova-lib/src/plugman/fetch.js
+++ b/cordova-lib/src/plugman/fetch.js
@@ -146,9 +146,6 @@ function fetchPlugin(plugin_src, plugins_dir, options) {
         checkID(options.expected_id, result.pinfo);
         metadata.save_fetch_metadata(plugins_dir, result.pinfo.id, { source: result.fetchJsonSource
});
         return result.dest;
-    })            
-    .fail(function(error) {
-        return Q.reject(error);
     });
 }
 


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


Mime
View raw message