Skip to content

Commit 561c811

Browse files
committed
fixed MPE for plugin already installed
1 parent 6447df7 commit 561c811

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/java/org/codehaus/groovy/grails/resolve/PluginInstallEngine.groovy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,8 @@ class PluginInstallEngine {
308308
if (currentInstall?.exists()) {
309309

310310
PluginBuildSettings pluginSettings = pluginSettings
311-
def pluginInfo = pluginSettings.getPluginInfo(currentInstall.file.absolutePath)
311+
def pluginDir = currentInstall.file
312+
def pluginInfo = pluginSettings.getPluginInfo(pluginDir.absolutePath)
312313
// if the versions are the same no need to continue
313314
if(version == pluginInfo?.version) return true
314315

0 commit comments

Comments
 (0)