Add arbitraryFiles in ProjectRuleCache

This commit is contained in:
Jeroen Engels 2023-05-30 23:50:25 +02:00
parent 47cfbd46fc
commit 0401257502

View File

@ -1272,6 +1272,7 @@ removeUnknownModulesFromInitialCache validProject projectRuleCache =
emptyCache : ProjectRuleCache projectContext
emptyCache =
{ elmJson = Nothing
, arbitraryFiles = Nothing
, readme = Nothing
, dependencies = Nothing
, moduleContexts = Dict.empty
@ -4312,6 +4313,7 @@ errorsFromCache cache =
type alias ProjectRuleCache projectContext =
{ elmJson : Maybe (ProjectFileCache projectContext)
, arbitraryFiles : Maybe (ArbitraryFilesCache projectContext)
, readme : Maybe (ProjectFileCache projectContext)
, dependencies : Maybe (ProjectFileCache projectContext)
, moduleContexts : Dict String (ModuleCacheEntry projectContext)