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/11/01 23:37:53 UTC
android commit: CB-12101: Spot fix to go into next patch release
Repository: cordova-android
Updated Branches:
refs/heads/master 854946e31 -> 3c087c671
CB-12101: Spot fix to go into next patch release
This closes #346
Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/3c087c67
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/3c087c67
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/3c087c67
Branch: refs/heads/master
Commit: 3c087c671665683a980a016155db3618d48085f0
Parents: 854946e
Author: Joe Bowser <bo...@apache.org>
Authored: Tue Nov 1 11:37:50 2016 -0700
Committer: Joe Bowser <bo...@apache.org>
Committed: Tue Nov 1 16:37:39 2016 -0700
----------------------------------------------------------------------
bin/templates/cordova/Api.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/3c087c67/bin/templates/cordova/Api.js
----------------------------------------------------------------------
diff --git a/bin/templates/cordova/Api.js b/bin/templates/cordova/Api.js
index e05c852..92f9565 100644
--- a/bin/templates/cordova/Api.js
+++ b/bin/templates/cordova/Api.js
@@ -244,7 +244,8 @@ Api.prototype.addPlugin = function (plugin, installOptions) {
// Skip cleaning prepared files when not invoking via cordova CLI.
opts.noPrepare = true;
- return self.clean(opts);
+ if(!(AndroidStudio.isAndroidStudioProject(self.root)))
+ return self.clean(opts);
})
.then(function () {
return PluginManager.get(self.platform, self.locations, project)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org