diff options
author | Jasper Van der Jeugt <m@jaspervdj.be> | 2016-12-22 13:33:00 +0100 |
---|---|---|
committer | Jasper Van der Jeugt <m@jaspervdj.be> | 2016-12-22 13:33:28 +0100 |
commit | 6f5b1c05f4a7b980d5b2dd4006999a6919121f2d (patch) | |
tree | d919c6683721ed41ca890ef6f39e4a22223e04a2 /src/Hakyll/Commands.hs | |
parent | 3f4de12cc33b32cbf1d29f8dfea38e7029bbe422 (diff) | |
download | hakyll-6f5b1c05f4a7b980d5b2dd4006999a6919121f2d.tar.gz |
Fix the exit code behaviour of check
Fixes #496
Diffstat (limited to 'src/Hakyll/Commands.hs')
-rw-r--r-- | src/Hakyll/Commands.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Hakyll/Commands.hs b/src/Hakyll/Commands.hs index 882fa09..6763fe7 100644 --- a/src/Hakyll/Commands.hs +++ b/src/Hakyll/Commands.hs @@ -50,8 +50,8 @@ build conf logger rules = fst <$> run conf logger rules -------------------------------------------------------------------------------- -- | Run the checker and exit -check :: Configuration -> Logger -> Check.Check -> IO () -check config logger check' = Check.check config logger check' >>= exitWith +check :: Configuration -> Logger -> Check.Check -> IO ExitCode +check = Check.check -------------------------------------------------------------------------------- |