Skip to content

Commit

Permalink
Use sequential combination where appropriate
Browse files Browse the repository at this point in the history
  • Loading branch information
miniBill committed Apr 12, 2024
1 parent a07ac41 commit e4eac9b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Cli.elm
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ generateFileFromOpenApiSpec config apiSpec =
warnings
|> List.Extra.gatherEqualsBy .message
|> List.map logWarning
|> BackendTask.combine
|> doAll
|> BackendTask.map (\_ -> decls)
)
|> BackendTask.andThen
Expand Down Expand Up @@ -258,8 +258,7 @@ logWarning ( head, tail ) =
in
(firstLine :: paths)
|> List.map Pages.Script.log
|> BackendTask.combine
|> BackendTask.map (\_ -> ())
|> doAll



Expand Down

0 comments on commit e4eac9b

Please sign in to comment.