Skip to content

Commit

Permalink
Fix ktlint unexpected spacing before (
Browse files Browse the repository at this point in the history
  • Loading branch information
Rd4dev committed Oct 9, 2024
1 parent 7110715 commit 0077bd4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ private fun checkTableOfContents(file: File) {
it.isBlank()
}.takeIf { it != -1 }
?.plus(1)
?: error ("Table of Contents didn't end with a blank line.")
?: error("Table of Contents didn't end with a blank line.")

val tocSpecificLines = fileContents.subList(tocStartIdx, tocStartIdx + spanLimitIdx + 1)

Expand Down

0 comments on commit 0077bd4

Please sign in to comment.