[2.x] Remove type ascription in Continuous (#9314)

This commit is contained in:
kenji yoshida 2026-06-09 18:22:09 +09:00 committed by GitHub
parent 5310381bb4
commit 4950462abb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 4 deletions

View File

@ -326,10 +326,8 @@ private[sbt] object Continuous {
val nextInputEvent: WatchExecutor => Option[Watch.Action] = {
parseInputEvents(parser, altParser, state, channel.terminal, logger)
}
val (nextFileEvent, cleanupFileMonitor): (
Int => Option[(Watch.Event, Watch.Action)],
() => Unit
) = getFileEvents(configs, logger, state, commands, fileStampCache, channel.name)
val (nextFileEvent, cleanupFileMonitor) =
getFileEvents(configs, logger, state, commands, fileStampCache, channel.name)
val executor = new WatchExecutor(channel.name)
val nextEvent: Int => Watch.Action =
combineInputAndFileEvents(