Skip to content

Commit 9ebbf1d

Browse files
Fix syntax error in convertToMinimalReviewThread
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent ffd4a2e commit 9ebbf1d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pkg/github/minimal_types.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package github
22

33
import (
4-
"fmt"
4+
"fmt"
55
"strconv"
66
"time"
77

@@ -859,7 +859,7 @@ type MinimalReviewComment struct {
859859

860860
// MinimalReviewThread is the trimmed output type for PR review thread objects.
861861
type MinimalReviewThread struct {
862-
ID string
862+
ID string
863863
IsResolved bool `json:"is_resolved"`
864864
IsOutdated bool `json:"is_outdated"`
865865
IsCollapsed bool `json:"is_collapsed"`
@@ -996,7 +996,7 @@ func convertToMinimalReviewThread(thread reviewThreadNode) MinimalReviewThread {
996996
}
997997

998998
return MinimalReviewThread{
999-
ID: fmt.Sprintf("%v", thread.ID)
999+
ID: fmt.Sprintf("%v", thread.ID),
10001000
IsResolved: bool(thread.IsResolved),
10011001
IsOutdated: bool(thread.IsOutdated),
10021002
IsCollapsed: bool(thread.IsCollapsed),

0 commit comments

Comments
 (0)