You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by bo...@apache.org on 2016/10/08 01:14:43 UTC
[2/6] android commit: Removing try/catch now that we have the new
tests and committing latest
Removing try/catch now that we have the new tests and committing latest
Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/4be413af
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/4be413af
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/4be413af
Branch: refs/heads/master
Commit: 4be413af796fba606279e1cdb2850bdce3483372
Parents: 5db2de9
Author: Joe Bowser <bo...@apache.org>
Authored: Fri Oct 7 10:45:44 2016 -0700
Committer: Joe Bowser <bo...@apache.org>
Committed: Fri Oct 7 18:14:36 2016 -0700
----------------------------------------------------------------------
bin/templates/cordova/Api.js | 11 -----------
1 file changed, 11 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/4be413af/bin/templates/cordova/Api.js
----------------------------------------------------------------------
diff --git a/bin/templates/cordova/Api.js b/bin/templates/cordova/Api.js
index 2f1fd86..af21b22 100644
--- a/bin/templates/cordova/Api.js
+++ b/bin/templates/cordova/Api.js
@@ -360,7 +360,6 @@ Api.prototype.run = function(runOptions) {
*/
Api.prototype.clean = function(cleanOptions) {
var self = this;
- try {
return require('./lib/check_reqs').run()
.then(function () {
return require('./lib/build').runClean.call(self, cleanOptions);
@@ -368,16 +367,6 @@ Api.prototype.clean = function(cleanOptions) {
.then(function () {
return require('./lib/prepare').clean.call(self, cleanOptions);
});
- }
- catch (err) {
- return require('../../lib/check_reqs').run()
- .then(function () {
- return require('./lib/build').runClean.call(self, cleanOptions);
- })
- .then(function () {
- return require('./lib/prepare').clean.call(self, cleanOptions);
- });
- }
};
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org