Skip to content

Commit 7947188

Browse files
committed
Only use skeleton.excludes when copying the skeleton of parent profiles
1 parent 10803de commit 7947188

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

grails-shell/src/main/groovy/org/grails/cli/profile/commands/CreateAppCommand.groovy

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,9 @@ class CreateAppCommand extends ArgumentCompletingCommand implements ProfileRepos
521521
private void copySkeleton(Profile profile, Profile participatingProfile) {
522522
def buildMergeProfileNames = profile.buildMergeProfileNames
523523
def excludes = profile.skeletonExcludes
524+
if (profile == participatingProfile) {
525+
excludes = []
526+
}
524527

525528
AntBuilder ant = new GrailsConsoleAntBuilder()
526529

0 commit comments

Comments
 (0)