Skip to content

Commit 72b99cb

Browse files
committed
Merge branch 'master' into feature/taskflow
2 parents 7a10323 + 393e846 commit 72b99cb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

common/src/main/kotlin/com/lambda/command/CommandRegistry.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,5 @@ object CommandRegistry : Configurable(LambdaConfig), Loadable {
3131

3232
val commands = getInstances<LambdaCommand> { forPackages("com.lambda.command.commands") }.toMutableList()
3333

34-
override fun load(): String {
35-
return "Loaded ${commands.size} commands"
36-
}
34+
override fun load() = "Loaded ${commands.size} commands"
3735
}

0 commit comments

Comments
 (0)