Skip to content

Commit

Permalink
Merge pull request jaspervdj#478 from lfairy/update-deps
Browse files Browse the repository at this point in the history
Update dependencies!
  • Loading branch information
jaspervdj authored Oct 31, 2016
2 parents ab34240 + 218d683 commit 04945a5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions hakyll.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ Library
unordered-containers >= 0.2 && < 0.3,
vector >= 0.11 && < 0.12,
yaml >= 0.8 && < 0.9,
optparse-applicative >= 0.12 && < 0.13
optparse-applicative >= 0.13 && < 0.14

If flag(previewServer)
Build-depends:
Expand All @@ -207,7 +207,7 @@ Library

If flag(checkExternal)
Build-depends:
http-conduit >= 2.1 && < 2.2,
http-conduit >= 2.2 && < 2.3,
http-types >= 0.7 && < 0.10
Cpp-options:
-DCHECK_EXTERNAL
Expand Down
3 changes: 1 addition & 2 deletions src/Hakyll/Check.hs
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,7 @@ checkExternalUrl url = do

-- Convert exception to a concise form
showException e = case cast e of
Just (Http.StatusCodeException (Http.Status code msg) _ _) ->
show code ++ " " ++ unpack msg
Just (Http.HttpExceptionRequest _ e') -> show e'
_ -> head $ words $ show e
#else
checkExternalUrl _ = return ()
Expand Down
3 changes: 2 additions & 1 deletion src/Hakyll/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ import System.Exit (ExitCode(ExitSuccess), exitWit


--------------------------------------------------------------------------------
import Options.Applicative
import Data.Monoid ((<>))
import Options.Applicative


--------------------------------------------------------------------------------
Expand Down

0 comments on commit 04945a5

Please sign in to comment.