Skip to content

Commit d8a3037

Browse files
committed
Fix build failure on 7.8
1 parent afead43 commit d8a3037

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Stack/Build/Haddock.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ openHaddocksInBrowser bco pkgLocations buildTargets = do
9090
getDocIndex
9191
_ -> getDocIndex
9292
$logInfo ("Opening " <> T.pack (toFilePath docFile) <> " in the browser.")
93-
void $ liftIO $ openBrowser (toFilePath docFile)
93+
_ <- liftIO $ openBrowser (toFilePath docFile)
94+
return ()
9495

9596
-- | Determine whether we should haddock for a package.
9697
shouldHaddockPackage :: BuildOpts

0 commit comments

Comments
 (0)