Skip to content

Commit

Permalink
fix import/header issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
didiergarcia committed Mar 8, 2024
1 parent 9749df3 commit 4222777
Show file tree
Hide file tree
Showing 2 changed files with 10,325 additions and 7,404 deletions.
2 changes: 1 addition & 1 deletion src/languages/kotlin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ class TypewriterKotlinRenderer extends KotlinXRenderer {

// We add our import for Analytics here, Kotlin is more strict about import order so we have to do it outside the templates
override emitHeader(): void {
this.emitLine('com.segment.analytics.kotlin.core.Analytics');
super.emitHeader();
this.emitLine('import com.segment.analytics.kotlin.core.Analytics');
}

override emitSource(givenOutputFilename: string): void {
Expand Down
Loading

0 comments on commit 4222777

Please # to comment.