Skip to content

Commit 4b0a539

Browse files
authored
chore(codegen): Remove unnecessary println of start of codegen (#497)
1 parent df7cc42 commit 4b0a539

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/KotlinCodegenPlugin.kt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,7 @@ import software.amazon.smithy.model.Model
1717
class KotlinCodegenPlugin : SmithyBuildPlugin {
1818
override fun getName(): String = "kotlin-codegen"
1919

20-
override fun execute(context: PluginContext?) {
21-
println("executing kotlin codegen")
22-
CodegenVisitor(context!!).execute()
23-
}
20+
override fun execute(context: PluginContext?) = CodegenVisitor(context ?: error("context was null")).execute()
2421

2522
companion object {
2623
/**

0 commit comments

Comments
 (0)