Skip to content
This repository was archived by the owner on Jul 18, 2023. It is now read-only.

Commit 80fa295

Browse files
committed
Bug fixed
1 parent f2dc0ef commit 80fa295

File tree

1 file changed

+3
-2
lines changed
  • src/Language/PipeScript/Interpreter

1 file changed

+3
-2
lines changed

src/Language/PipeScript/Interpreter/Task.hs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ instance Show MultiExceptions where
123123
instance Exception MultiExceptions
124124

125125
runTasksParallel :: [Task] -> IO ()
126-
runTasksParallel taskSet = do
126+
runTasksParallel taskSet = do
127127
let pbarStyle = defStyle { styleOnComplete = Clear, stylePostfix = exact, styleTodo = ' ' }
128128
pbar <- newProgressBar pbarStyle 24 $ Progress 0 (length taskSet) ()
129129
let runTask' task = do
@@ -138,6 +138,7 @@ runTasksParallel taskSet = do
138138
else throw $ MultiExceptions errs
139139

140140
run [] $ createTaskSet taskSet
141+
updateProgress pbar $ \_ -> Progress (length taskSet) 0 ()
142+
141143

142-
143144

0 commit comments

Comments
 (0)