mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-11-29 01:24:35 +03:00
Add files to RequestedData
This commit is contained in:
parent
1850b55de8
commit
004d6a2496
@ -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