Commit b853a3eb authored by refold's avatar refold Committed by Mikhail Glushenkov
Browse files

Fix the 'index.cache' timestamp check.

Since we're using 'unless' here, we should use (>) instead of (>=).
parent ba679d5b
......@@ -240,7 +240,7 @@ whenCacheOutOfDate origFile cacheFile action = do
else do
origTime <- getModificationTime origFile
cacheTime <- getModificationTime cacheFile
unless (cacheTime >= origTime) action
unless (cacheTime > origTime) action
------------------------------------------------------------------------
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment