Commit dcf1c11 1 parent 9017df8 commit dcf1c11 Copy full SHA for dcf1c11
File tree 1 file changed +2
-2
lines changed
cli/src/main/groovy/io/micronaut/cli/profile/commands
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ class CreateFunctionCommand extends AbstractCreateCommand {
74
74
final CreateServiceCommandObject cmd = new CreateServiceCommandObject (
75
75
appName : this . functionName,
76
76
baseDir : executionContext. baseDir,
77
- profileName : this . profile ?: getDefaultProfile() ,
77
+ profileName : functionProfile ,
78
78
micronautVersion : VersionInfo . getVersion(MicronautCli ),
79
79
features : selectedFeatures,
80
80
inplace : this . inplace,
@@ -90,7 +90,7 @@ class CreateFunctionCommand extends AbstractCreateCommand {
90
90
}
91
91
92
92
protected String evaluateLangFeature (String profile ) {
93
- " ${ profile} -${ lang} "
93
+ " ${ profile} -${ lang.name() } "
94
94
}
95
95
96
96
protected String evaluateTestFeature () {
You can’t perform that action at this time.
0 commit comments