mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-11 18:58:24 +03:00
roc format
This commit is contained in:
parent
a000bb9c52
commit
349933b649
@ -42,13 +42,13 @@ logRequest = \req ->
|
||||
|
||||
readUrlEnv : Str -> Task Str AppError
|
||||
readUrlEnv = \target ->
|
||||
Env.var target
|
||||
Env.var target
|
||||
|> Task.mapErr \_ -> EnvURLNotFound
|
||||
|
||||
fetchContent : Str -> Task Str AppError
|
||||
fetchContent = \url ->
|
||||
Http.getUtf8 url
|
||||
|> Task.mapErr \err -> (HttpError err)
|
||||
Http.getUtf8 url
|
||||
|> Task.mapErr \err -> HttpError err
|
||||
|
||||
handleErr : AppError -> Task Response []
|
||||
handleErr = \err ->
|
||||
|
Loading…
Reference in New Issue
Block a user