fixup! Add visitor for the changelog

This commit is contained in:
Jeroen Engels 2023-06-03 01:30:53 +02:00
parent 608855d1e0
commit 45774ce35b

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 } ->