mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-12-24 02:02:29 +03:00
Fix bug where the initial context with elm.json visit was not used
This commit is contained in:
parent
1d1e2d7f27
commit
a63e7afb83
@ -697,7 +697,7 @@ runMulti (MultiSchema schema) startCache project =
|
||||
[ List.concatMap Tuple.first contextsAndErrorsPerFile
|
||||
, contextsAndErrorsPerFile
|
||||
|> List.map Tuple.second
|
||||
|> List.foldl schema.context.fold schema.context.initGlobalContext
|
||||
|> List.foldl schema.context.fold initialContext
|
||||
|> schema.finalEvaluationFn
|
||||
|> List.map (\(Error err) -> Error { err | ruleName = schema.name })
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user