on master help sign in
Fix early exit when calling check as a library

See #496

commit012ee7facfe2e17a14523ebbed1459129fd4b390 authorJasper Van der Jeugt <m@jaspervdj.be> dateTue 4 Jul 2017, 10:25 (9 years ago) parent58ae097
1 file changed+1−1
lib/Hakyll/Main.hs+1−1
lib/Hakyll/Main.hs+1−1
@@ -81,7 +81,7 @@ invokeCommands :: Command -> Config.Configuration ->
8181invokeCommands args conf check logger rules =
8282 case args of
8383 Build -> Commands.build conf logger rules
84− Check _ -> Commands.check conf logger check >> ok
84+ Check _ -> Commands.check conf logger check
8585 Clean -> Commands.clean conf logger >> ok
8686 Deploy -> Commands.deploy conf
8787 Preview p -> Commands.preview conf logger rules p >> ok