Skip to content

Commit 05c7bfe

Browse files
committed
refactor: prepare for compatibility with Conventional Commit 0.16.0
1 parent d085029 commit 05c7bfe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/kotlin/com/github/lppedd/cc/commitlint/CommitlintTokensProvider.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ private class CommitlintTokensProvider(private val project: Project) :
7171

7272
private val TOKEN_RENDERING = CommitTokenRendering(icon = ICON_COMMITLINT)
7373

74-
private class CommitlintCommitType(text: String) : CommitType(text) {
74+
private class CommitlintCommitType(text: String) : CommitType(text, "") {
7575
override fun getRendering() = TOKEN_RENDERING
7676
}
7777

78-
private class CommitlintCommitScope(text: String) : CommitScope(text) {
78+
private class CommitlintCommitScope(text: String) : CommitScope(text, "") {
7979
override fun getRendering() = TOKEN_RENDERING
8080
}

0 commit comments

Comments
 (0)