🐙 Templated web page generator for your git repositories
git clone https://github.com/m-col/gitja
Files | Refs | Readme | License

Commit d6f62c79a06d0a9a42d3b7eaf929bf7ff78ba4ad
Parent: 8aefb19ecb8ffb756fea27a23513db72f7106e0b
Author: mcol <mcol@posteo.net>
Date: 2021-09-25 18:55:53 +0100
Committer: mcol <mcol@posteo.net>
Committed: 2021-09-25 18:55:53 +0100

Don't bind unncessary varibale

src/Repositories.hs Modified

@@ -171,7 +171,7 @@
 configured respositories.
 -}
 runIndex :: Config -> Maybe Template -> IO ()
-runIndex config Nothing = return ()
+runIndex _ Nothing = return ()
 runIndex config (Just template) = do
     let paths = repoPaths config
     descriptions <- sequence . fmap (getDescription . flip (</>) "description") $ paths