mirror of
https://github.com/jfmengels/elm-review.git
synced 2024-09-11 16:16:09 +03:00
fixup! Visit extra files after readme
This commit is contained in:
parent
284cdb6c3d
commit
4abbc530e8
@ -5869,14 +5869,6 @@ findInitialInputContext cache step defaultContext =
|
||||
( [], defaultContext )
|
||||
|
||||
ReadmeStep ->
|
||||
case cache.extraFiles of
|
||||
Just entry ->
|
||||
( [ ExtraFile.outputContextHash entry ], ExtraFile.outputContext entry )
|
||||
|
||||
Nothing ->
|
||||
findInitialInputContext cache ExtraFilesStep defaultContext
|
||||
|
||||
ExtraFilesStep ->
|
||||
case cache.elmJson of
|
||||
Just entry ->
|
||||
( [ ProjectFileCache.outputContextHash entry ], ProjectFileCache.outputContext entry )
|
||||
@ -5884,7 +5876,7 @@ findInitialInputContext cache step defaultContext =
|
||||
Nothing ->
|
||||
findInitialInputContext cache ElmJsonStep defaultContext
|
||||
|
||||
DependenciesStep ->
|
||||
ExtraFilesStep ->
|
||||
case cache.readme of
|
||||
Just entry ->
|
||||
( [ ProjectFileCache.outputContextHash entry ], ProjectFileCache.outputContext entry )
|
||||
@ -5892,6 +5884,14 @@ findInitialInputContext cache step defaultContext =
|
||||
Nothing ->
|
||||
findInitialInputContext cache ReadmeStep defaultContext
|
||||
|
||||
DependenciesStep ->
|
||||
case cache.extraFiles of
|
||||
Just entry ->
|
||||
( [ ExtraFile.outputContextHash entry ], ExtraFile.outputContext entry )
|
||||
|
||||
Nothing ->
|
||||
findInitialInputContext cache ExtraFilesStep defaultContext
|
||||
|
||||
AfterProjectFilesStep ->
|
||||
case cache.dependencies of
|
||||
Just entry ->
|
||||
|
Loading…
Reference in New Issue
Block a user