Skip to content

Commit

Permalink
Fixes error when creating a Plugin of profile plugin
Browse files Browse the repository at this point in the history
Closes gh-589
  • Loading branch information
rainboyan committed Sep 12, 2024
1 parent d62656e commit 5933779
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class CreatePluginCommand extends CreateAppCommand {
}

def pluginProfile = profileInstance.extends.find { Profile parent -> parent.name == 'plugin' }
if (pluginProfile == null) {
if (profileName != 'plugin' && pluginProfile == null) {
console.error("No valid plugin profile found for name [$profileName]")
return false
}
Expand Down

0 comments on commit 5933779

Please sign in to comment.