Skip to content

Commit

Permalink
Change GitHub.createPullRequest to await the call to PullRequest.Create
Browse files Browse the repository at this point in the history
  • Loading branch information
Numpsy authored and xperiandri committed Sep 22, 2024
1 parent 9404e21 commit 72aeb27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/Fake.Api.GitHub/GitHub.fs
Original file line number Diff line number Diff line change
Expand Up @@ -469,4 +469,4 @@ module GitHub =
/// </example>
let createPullRequest owner repoName (pullRequest: NewPullRequest) (client: Async<GitHubClient>) =
retryWithArg 5 client
<| fun client' -> async { return Async.AwaitTask <| client'.PullRequest.Create(owner, repoName, pullRequest) }
<| fun client' -> async { return! Async.AwaitTask <| client'.PullRequest.Create(owner, repoName, pullRequest) }

0 comments on commit 72aeb27

Please sign in to comment.