From 012ee7facfe2e17a14523ebbed1459129fd4b390 Mon Sep 17 00:00:00 2001 From: Jasper Van der Jeugt Date: Tue, 4 Jul 2017 10:25:17 +0200 Subject: Fix early exit when calling check as a library See #496 --- lib/Hakyll/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3