cleanup
This commit is contained in:
parent
8d3848451c
commit
609024f30e
1 changed files with 0 additions and 1 deletions
|
|
@ -62,7 +62,6 @@ resolveSpine = do
|
||||||
let tags = manifest env
|
let tags = manifest env
|
||||||
let itemRefs = [ idRef | TagOpen "itemref" attrs <- tags, let idRef = lookup "idref" attrs, isJust $ Just idRef ]
|
let itemRefs = [ idRef | TagOpen "itemref" attrs <- tags, let idRef = lookup "idref" attrs, isJust $ Just idRef ]
|
||||||
|
|
||||||
-- let files = map (findFileById tags) itemRefs
|
|
||||||
pure $ mapMaybe (findFileById tags) itemRefs
|
pure $ mapMaybe (findFileById tags) itemRefs
|
||||||
|
|
||||||
findFileById :: [Tag String] -> Maybe String -> Maybe FilePath
|
findFileById :: [Tag String] -> Maybe String -> Maybe FilePath
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue