aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/Processors.hs
diff options
context:
space:
mode:
authorpacien2019-12-29 09:54:55 +0100
committerpacien2019-12-29 09:54:55 +0100
commit119d837edce4d4c109539b6722fab162ab29c0b0 (patch)
tree6fb2c1e188d839c87ee9db90fe0b0a1ae6a29059 /compiler/src/Processors.hs
parent1872dbe68d4a68f43990f8a93e3ff4716eecf525 (diff)
downloadldgallery-119d837edce4d4c109539b6722fab162ab29c0b0.tar.gz
compiler: allow fast recovery from partial gallery compilation
Diffstat (limited to 'compiler/src/Processors.hs')
-rw-r--r--compiler/src/Processors.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/src/Processors.hs b/compiler/src/Processors.hs
index 67f8619..7362822 100644
--- a/compiler/src/Processors.hs
+++ b/compiler/src/Processors.hs
@@ -140,7 +140,7 @@ withCached processor inputPath outputPath =
140 fileExists <- doesFileExist outputPath 140 fileExists <- doesFileExist outputPath
141 if fileExists then 141 if fileExists then
142 do 142 do
143 needUpdate <- isOutdated inputPath outputPath 143 needUpdate <- isOutdated True inputPath outputPath
144 if needUpdate then update else skip 144 if needUpdate then update else skip
145 else 145 else
146 update 146 update