Skip to content

Commit

Permalink
cabal: remove -Werror
Browse files Browse the repository at this point in the history
  • Loading branch information
Sönke Hahn committed Jul 21, 2015
1 parent 64eb90d commit 8809d5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion silently.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ test-suite spec-specific
type:
exitcode-stdio-1.0
ghc-options:
-Wall -Werror -threaded
-Wall -threaded
hs-source-dirs:
test
build-depends:
Expand Down
2 changes: 1 addition & 1 deletion src/System/IO/Silently.hs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ getTempOrCurrentDirectory :: IO String
getTempOrCurrentDirectory = getTemporaryDirectory `catchIOError` (\_ -> return ".")
where
-- NOTE: We can not use `catchIOError` from "System.IO.Error", it is only
-- availabel in base >= 4.4.
-- available in base >= 4.4.
catchIOError :: IO a -> (IOError -> IO a) -> IO a
catchIOError = E.catch

Expand Down

0 comments on commit 8809d5c

Please sign in to comment.