Skip to content

Commit d9af418

Browse files
committed
Appease hlint
1 parent 5322814 commit d9af418

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Tools/Install.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ mkMachdep flags =
6363

6464
mkConf :: Flags -> IO ()
6565
mkConf flags = do
66-
msg flags $ "create mhs.conf"
66+
msg flags "create mhs.conf"
6767
unless (dryRun flags) $
6868
writeFile "mhs.conf" (conf flags)
6969

@@ -90,7 +90,7 @@ checkPath flags = do
9090
pathSep | target flags == "windows" = ";"
9191
| otherwise = ":"
9292
bin = instDir flags </> "bin"
93-
when (bin `notElem` paths) $
93+
unless (bin `elem` paths) $
9494
putStrLn $ "Please add " ++ bin ++ " to your PATH"
9595

9696
buildBin :: Flags -> String -> IO ()

0 commit comments

Comments
 (0)