Rename variable.

This commit is contained in:
Dillon Kearns 2020-05-11 16:39:18 -07:00
parent 1e081bff85
commit b869091f02

View File

@ -955,14 +955,13 @@ sendStaticResponsesIfDone config siteMetadata mode secrets allRawResponses error
}
)
--generatedFiles : StaticHttp.Request (List (Result String { path : List String, content : String }))
--generatedFiles : List (Result String { path : List String, content : String })
generatedFiles : List (Result String { path : List String, content : String })
generatedFiles =
mythingy2
resolvedGenerateFilesResult
|> Result.withDefault []
mythingy2 : Result StaticHttpRequest.Error (List (Result String { path : List String, content : String }))
mythingy2 =
resolvedGenerateFilesResult : Result StaticHttpRequest.Error (List (Result String { path : List String, content : String }))
resolvedGenerateFilesResult =
StaticHttpRequest.resolve ApplicationType.Cli
(config.generateFiles metadataForGenerateFiles)
(allRawResponses |> Dict.Extra.filterMap (\key value -> value))