Skip to content
Snippets Groups Projects
Commit bb3afeed authored by Emily Pillmore's avatar Emily Pillmore :ocean:
Browse files

fix formatter extra-doc-files

parent 6bb2df8c
No related branches found
No related tags found
No related merge requests found
......@@ -320,13 +320,11 @@ mkPkgDescription opts pkgDesc =
opts
, case _pkgExtraDocFiles pkgDesc of
Nothing -> PrettyEmpty
Just fs
| null fs -> PrettyEmpty
| otherwise ->
field "extra-doc-files" formatExtraSourceFiles (toList fs)
["Extra doc files to be distributed with the package, such as a CHANGELOG or a README."]
True
opts
Just fs ->
field "extra-doc-files" formatExtraSourceFiles (toList fs)
["Extra doc files to be distributed with the package, such as a CHANGELOG or a README."]
True
opts
, field "extra-source-files" formatExtraSourceFiles (toList $ _pkgExtraSrcFiles pkgDesc)
["Extra source files to be distributed with the package, such as examples, or a tutorial module."]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment