vcs: Cleanup CommitModeManager.kt

(cherry picked from commit a0e011ed6a786ab6ffba94eb11453165cd4b10ad)

IJ-MR-163526

GitOrigin-RevId: 95eb43a8d989e14ba6739817638130a23c6ae336
This commit is contained in:
Aleksandr Krasilnikov
2025-06-10 11:57:20 +00:00
committed by intellij-monorepo-bot
parent 50b98034fa
commit ede0aef024
@@ -105,7 +105,7 @@ class CommitModeManager(private val project: Project, private val coroutineScope
}
@CalledInAny
fun getCurrentCommitMode() = commitMode
fun getCurrentCommitMode(): CommitMode = commitMode
private fun canSetNonModal(): Boolean {
if (isForceNonModalCommit.asBoolean()) return true