hlint
test suite still passes
This commit is contained in:
parent
3192b059b5
commit
b405295aee
30 changed files with 72 additions and 75 deletions
|
@ -55,7 +55,7 @@ start = start' True
|
|||
|
||||
start' :: Bool -> Maybe HostName -> CommandStart
|
||||
start' allowauto listenhost = do
|
||||
liftIO $ ensureInstalled
|
||||
liftIO ensureInstalled
|
||||
ifM isInitialized ( go , auto )
|
||||
stop
|
||||
where
|
||||
|
@ -209,7 +209,7 @@ openBrowser mcmd htmlshim realurl outh errh = do
|
|||
, std_err = maybe Inherit UseHandle errh
|
||||
}
|
||||
exitcode <- waitForProcess pid
|
||||
unless (exitcode == ExitSuccess) $ do
|
||||
unless (exitcode == ExitSuccess) $
|
||||
hPutStrLn (fromMaybe stderr errh) "failed to start web browser"
|
||||
|
||||
{- web.browser is a generic git config setting for a web browser program -}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue