Skip to content

Commit 2d60333

Browse files
wz1000pepeiborra
andauthored
Update ghcide/bench/lib/Experiments.hs
Co-authored-by: Pepe Iborra <pepeiborra@me.com>
1 parent 121ae0b commit 2d60333

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ghcide/bench/lib/Experiments.hs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -332,9 +332,7 @@ waitForProgressDone = loop
332332
loop = do
333333
void (skipManyTill anyMessage message :: Session WorkDoneProgressEndNotification)
334334
done <- null <$> getIncompleteProgressSessions
335-
if done
336-
then pure ()
337-
else do loop
335+
unless done loop
338336

339337
runBench ::
340338
(?config :: Config) =>

0 commit comments

Comments
 (0)