Inline projectReadme

This commit is contained in:
Jeroen Engels 2023-04-10 11:31:48 +02:00
parent d08f057f3e
commit 6019524a87

View File

@ -4405,10 +4405,6 @@ computeReadme :
-> { project : ValidProject, step : Step, ruleProjectVisitors : List RuleProjectVisitor, fixedErrors : FixedErrors }
computeReadme reviewOptions project ruleProjectVisitors fixedErrors =
let
projectReadme : Maybe { path : String, content : String }
projectReadme =
ValidProject.readme project
readmeData : Maybe { readmeKey : ReadmeKey, content : String }
readmeData =
Maybe.map
@ -4417,7 +4413,7 @@ computeReadme reviewOptions project ruleProjectVisitors fixedErrors =
, content = readme.content
}
)
projectReadme
(ValidProject.readme project)
in
computeReadmeHelp reviewOptions project readmeData ruleProjectVisitors fixedErrors