We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d66153f commit 2a80bebCopy full SHA for 2a80beb
src/commonMain/kotlin/main.kt
@@ -22,7 +22,7 @@ fun main(args: Array<String>) {
22
throw ExitException()
23
}
24
25
- } catch (e: ExitException) {
+ } catch (_: ExitException) {
26
// no-op
27
28
src/commonMain/kotlin/viewmodel.kt
@@ -20,7 +20,7 @@ class ViewModel(
20
val selectedLine: MutableStateFlow<IntRange> = MutableStateFlow(-1..-1)
21
private var dirUp: Boolean = true
- private val commitLineRegexp = """^(pick|reword|edit|sqaush|fixup|drop).*""".toRegex()
+ private val commitLineRegexp = """^(pick|reword|edit|squash|fixup|drop).*""".toRegex()
private val updateRefLineRegexp = """^(#\s+)?update-ref.*""".toRegex()
init {
0 commit comments