Commit b2d52b14 authored by Francesco Gazzetta's avatar Francesco Gazzetta
Browse files

fixed withFile import, again

parent 58cd8e9c
......@@ -389,7 +389,7 @@ diff args path1 path2 = do
-- | Write a file with no CRs, always.
writeFileNoCR :: FilePath -> String -> IO ()
writeFileNoCR f s =
E.withFile f WriteMode $ \h -> do
withFile f WriteMode $ \h -> do
hSetNewlineMode h noNewlineTranslation
hPutStr h s
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment