summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper Van der Jeugt <m@jaspervdj.be>2017-07-04 10:25:17 +0200
committerJasper Van der Jeugt <m@jaspervdj.be>2017-07-04 10:25:17 +0200
commit012ee7facfe2e17a14523ebbed1459129fd4b390 (patch)
tree2c59e0e46e4258fa00c128815dfeccb377119899
parent58ae0974f91435b079f54edb9477d49c46bbcd7b (diff)
downloadhakyll-012ee7facfe2e17a14523ebbed1459129fd4b390.tar.gz
Fix early exit when calling check as a library
See #496
-rw-r--r--lib/Hakyll/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Hakyll/Main.hs b/lib/Hakyll/Main.hs
index b5c645f..6332da1 100644
--- a/lib/Hakyll/Main.hs
+++ b/lib/Hakyll/Main.hs
@@ -81,7 +81,7 @@ invokeCommands :: Command -> Config.Configuration ->
invokeCommands args conf check logger rules =
case args of
Build -> Commands.build conf logger rules
- Check _ -> Commands.check conf logger check >> ok
+ Check _ -> Commands.check conf logger check
Clean -> Commands.clean conf logger >> ok
Deploy -> Commands.deploy conf
Preview p -> Commands.preview conf logger rules p >> ok