Skip to content

Commit

Permalink
Add type in ProgramCommentRegexs
Browse files Browse the repository at this point in the history
  • Loading branch information
me-johnomar authored and valentjn committed Nov 16, 2021
1 parent 81adf7c commit 92852c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ data class ProgramCommentRegexs(
}

fun isSupportedCodeLanguageId(codeLanguageId: String): Boolean {
val regexs = fromCodeLanguageId(codeLanguageId)
val regexs: ProgramCommentRegexs = fromCodeLanguageId(codeLanguageId)
return ((regexs.blockCommentStartRegexString != null)
|| (regexs.blockCommentEndRegexString != null)
|| (regexs.lineCommentRegexString != null))
Expand Down

0 comments on commit 92852c3

Please sign in to comment.