We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2213d9 commit b54f151Copy full SHA for b54f151
review/review.go
@@ -82,7 +82,8 @@ func updateThreadsStatus(threads []CommentThread) *bool {
82
sort.Sort(byTimestamp(threads))
83
noUnresolved := true
84
var result *bool
85
- for _, thread := range threads {
+ for i := range threads {
86
+ thread := &threads[i]
87
thread.updateResolvedStatus()
88
if thread.Resolved != nil {
89
noUnresolved = noUnresolved && *thread.Resolved
0 commit comments