mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-12-25 10:41:47 +03:00
Simplify a fold
This commit is contained in:
parent
a2a5831e0b
commit
06b79f7b92
@ -333,7 +333,7 @@ runOnModulesWithProjectData project rule sources =
|
||||
, source = source
|
||||
}
|
||||
)
|
||||
|> List.foldl (\module_ p -> Project.withModule module_ p) project
|
||||
|> List.foldl Project.withModule project
|
||||
in
|
||||
case Project.filesThatFailedToParse projectWithModules of
|
||||
{ source } :: _ ->
|
||||
|
Loading…
Reference in New Issue
Block a user