Create arbitraryFilesVisitor from module rule

This commit is contained in:
Jeroen Engels 2023-05-31 00:34:35 +02:00
parent 6ca90416f9
commit cd37e8cf81

View File

@ -1104,7 +1104,7 @@ fromModuleRuleSchema ((ModuleRuleSchema schema) as moduleVisitor) =
{ name = schema.name
, initialProjectContext = initialModuleContext
, elmJsonVisitor = compactProjectDataVisitors (Maybe.map .project) schema.elmJsonVisitor
, arbitraryFilesVisitor = Nothing
, arbitraryFilesVisitor = compactProjectDataVisitors identity schema.arbitraryFilesVisitor
, readmeVisitor = compactProjectDataVisitors (Maybe.map .content) schema.readmeVisitor
, directDependenciesVisitor = compactProjectDataVisitors identity schema.directDependenciesVisitor
, dependenciesVisitor = compactProjectDataVisitors identity schema.dependenciesVisitor