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 committed Sep 25, 2024
1 parent e36d8be commit dfabaea
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 dfabaea

Please sign in to comment.