mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-09-11 16:16:09 +03:00
Add files to RequestedData
This commit is contained in:
parent
080506814a
commit
9c1984c218
@ -6,6 +6,7 @@ type RequestedData
|
||||
{ moduleNameLookupTable : Bool
|
||||
, sourceCodeExtractor : Bool
|
||||
, ignoredFiles : Bool
|
||||
, files : List String
|
||||
}
|
||||
|
||||
|
||||
@ -15,6 +16,7 @@ none =
|
||||
{ moduleNameLookupTable = False
|
||||
, sourceCodeExtractor = False
|
||||
, ignoredFiles = False
|
||||
, files = []
|
||||
}
|
||||
|
||||
|
||||
@ -39,4 +41,5 @@ combineJust (RequestedData a) (RequestedData b) =
|
||||
{ moduleNameLookupTable = a.moduleNameLookupTable || b.moduleNameLookupTable
|
||||
, sourceCodeExtractor = a.sourceCodeExtractor || b.sourceCodeExtractor
|
||||
, ignoredFiles = a.ignoredFiles || b.ignoredFiles
|
||||
, files = a.files ++ b.files
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user