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