We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b5c2f0 commit 1cbdd63Copy full SHA for 1cbdd63
src/java/org/codehaus/groovy/grails/resolve/PluginInstallEngine.groovy
@@ -201,12 +201,11 @@ class PluginInstallEngine {
201
202
assertNoExistingInlinePlugin(name)
203
204
- if (!overwrite) {
205
- def abort = checkExistingPluginInstall(name, version)
206
- if (abort) {
207
- registerPluginWithMetadata(name, version)
208
- return
209
- }
+ def abort = checkExistingPluginInstall(name, version)
+
+ if (abort && !overwrite) {
+ registerPluginWithMetadata(name, version)
+ return
210
}
211
212
eventHandler "StatusUpdate", "Installing zip ${pluginZip}..."
0 commit comments