mirror of https://github.com/voidlizard/hbs2
wip, debug
This commit is contained in:
parent
d153bb24ab
commit
b4a2bbdf81
|
@ -408,11 +408,11 @@ runDirectory path = do
|
||||||
|
|
||||||
debug $ yellow "entry" <+> pretty p <+> viaShow e
|
debug $ yellow "entry" <+> pretty p <+> viaShow e
|
||||||
|
|
||||||
-- actuallyFile <- liftIO $ doesFileExist filePath
|
actuallyFile <- liftIO $ doesFileExist filePath
|
||||||
|
|
||||||
debug $ red "FRESH:" <+> pretty p <+> pretty (freshIn p e local)
|
debug $ red "FRESH:" <+> pretty p <+> pretty (freshIn p e local)
|
||||||
|
|
||||||
when (freshIn p e local) $ void $ runMaybeT do
|
when (freshIn p e local && actuallyFile) $ void $ runMaybeT do
|
||||||
|
|
||||||
h <- getEntryHash e & toMPlus
|
h <- getEntryHash e & toMPlus
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue