mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-11-23 06:44:41 +03:00
Split computeReadme
This commit is contained in:
parent
10140cf957
commit
d08f057f3e
@ -4418,7 +4418,13 @@ computeReadme reviewOptions project ruleProjectVisitors fixedErrors =
|
||||
}
|
||||
)
|
||||
projectReadme
|
||||
in
|
||||
computeReadmeHelp reviewOptions project readmeData ruleProjectVisitors fixedErrors
|
||||
|
||||
|
||||
computeReadmeHelp : ReviewOptionsData -> ValidProject -> Maybe { readmeKey : ReadmeKey, content : String } -> List RuleProjectVisitor -> FixedErrors -> { project : ValidProject, step : Step, ruleProjectVisitors : List RuleProjectVisitor, fixedErrors : FixedErrors }
|
||||
computeReadmeHelp reviewOptions project readmeData ruleProjectVisitors fixedErrors =
|
||||
let
|
||||
( errors, newRuleProjectVisitors ) =
|
||||
List.foldl
|
||||
(\((RuleProjectVisitor rule) as untouched) ( accErrors, accRules ) ->
|
||||
|
Loading…
Reference in New Issue
Block a user