Fix failing test case

This commit is contained in:
Iulian Dragos 2023-08-08 11:29:32 +02:00
parent 193dba708f
commit 51a774b081
No known key found for this signature in database
GPG Key ID: A38C8E571FA4621E
1 changed files with 5 additions and 1 deletions

View File

@ -239,7 +239,11 @@ object MainLoop {
)
val cmdProgressState =
getOrSet(progressState, sbt.Keys.currentCommandProgress, _.get(Keys.commandProgress))
getOrSet(
progressState,
sbt.Keys.currentCommandProgress,
_.getOpt(Keys.commandProgress).getOrElse(Seq())
)
exchange.setState(cmdProgressState)
exchange.setExec(Some(exec))