Skip to content

Commit 89deadb

Browse files
author
Mahdi Dibaiee
committed
fix: mark dirtyCompile on build error
1 parent b41c1d7 commit 89deadb

File tree

1 file changed

+1
-1
lines changed
  • src/common/HaskellDo/Compilation

1 file changed

+1
-1
lines changed

src/common/HaskellDo/Compilation/State.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ buildHtmlCode state = do
7979
System.ExitFailure _ ->
8080
if isCommonError err
8181
then buildOutput state
82-
else return state { compilationError = err }
82+
else return state { compilationError = err, dirtyCompile = True }
8383
System.ExitSuccess ->
8484
buildOutput state
8585
where

0 commit comments

Comments
 (0)