Skip to content

Commit 72aeb27

Browse files
Numpsyxperiandri
authored andcommitted
Change GitHub.createPullRequest to await the call to PullRequest.Create
1 parent 9404e21 commit 72aeb27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/Fake.Api.GitHub/GitHub.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,4 +469,4 @@ module GitHub =
469469
/// </example>
470470
let createPullRequest owner repoName (pullRequest: NewPullRequest) (client: Async<GitHubClient>) =
471471
retryWithArg 5 client
472-
<| fun client' -> async { return Async.AwaitTask <| client'.PullRequest.Create(owner, repoName, pullRequest) }
472+
<| fun client' -> async { return! Async.AwaitTask <| client'.PullRequest.Create(owner, repoName, pullRequest) }

0 commit comments

Comments
 (0)