diff options
author | Jasper Van der Jeugt <m@jaspervdj.be> | 2017-07-04 10:25:17 +0200 |
---|---|---|
committer | Jasper Van der Jeugt <m@jaspervdj.be> | 2017-07-04 10:25:17 +0200 |
commit | 012ee7facfe2e17a14523ebbed1459129fd4b390 (patch) | |
tree | 2c59e0e46e4258fa00c128815dfeccb377119899 /lib/Hakyll | |
parent | 58ae0974f91435b079f54edb9477d49c46bbcd7b (diff) | |
download | hakyll-012ee7facfe2e17a14523ebbed1459129fd4b390.tar.gz |
Fix early exit when calling check as a library
See #496
Diffstat (limited to 'lib/Hakyll')
-rw-r--r-- | lib/Hakyll/Main.hs | 2 |
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 |