Undo autoformat changes
This commit is contained in:
parent
60b6a5eed5
commit
9467d66b11
1 changed files with 3 additions and 3 deletions
|
|
@ -517,8 +517,8 @@ func parseCheckStatusFromCheckConclusionState(state CheckConclusionState) checkS
|
|||
func (pr *PullRequest) DisplayableReviews() PullRequestReviews {
|
||||
published := []PullRequestReview{}
|
||||
for _, prr := range pr.Reviews.Nodes {
|
||||
// Dont display pending reviews
|
||||
// Dont display commenting reviews without top level comment body
|
||||
//Dont display pending reviews
|
||||
//Dont display commenting reviews without top level comment body
|
||||
if prr.State != "PENDING" && !(prr.State == "COMMENTED" && prr.Body == "") {
|
||||
published = append(published, prr)
|
||||
}
|
||||
|
|
@ -598,7 +598,7 @@ func CreatePullRequest(client *Client, repo *Repository, params map[string]inter
|
|||
reviewParams["teamIds"] = ids
|
||||
}
|
||||
|
||||
// TODO: How much work to extract this into own method and use for create and edit?
|
||||
//TODO: How much work to extract this into own method and use for create and edit?
|
||||
if len(reviewParams) > 0 {
|
||||
reviewQuery := `
|
||||
mutation PullRequestCreateRequestReviews($input: RequestReviewsInput!) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue