fixup! Add visitor for the changelog

This commit is contained in:
Jeroen Engels 2023-06-03 01:30:53 +02:00
parent aa7d289e99
commit 349d69727d

View File

@ -108,7 +108,7 @@ elmJsonVisitor maybeElmJsonData context =
( [], context )
extraFilesVisitor : Maybe String -> List { path : String, content : String } -> ProjectContext -> ( List (Rule.Error { useErrorForModule : () }), ProjectContext )
extraFilesVisitor : Maybe String -> List { fileKey : Rule.ExtraFileKey, path : String, content : String } -> ProjectContext -> ( List (Rule.Error { useErrorForModule : () }), ProjectContext )
extraFilesVisitor changelogPath files context =
case List.head files of
Just { content } ->