Skip to content

Commit 1190140

Browse files
committed
fix
1 parent 4dd5d51 commit 1190140

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: gh/gh.go

+1
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,7 @@ func (g *Gh) FetchPullRequestFiles(ctx context.Context, owner, repo string, numb
339339
files = append(files, &PullRequestFile{
340340
Filename: f.GetFilename(),
341341
BlobURL: f.GetBlobURL(),
342+
Status: f.GetStatus(),
342343
})
343344
}
344345
page += 1

Diff for: report/diff_report.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ func (d *DiffReport) FileCoveragesTable(files []*gh.PullRequestFile) string {
306306
}
307307

308308
table := tablewriter.NewWriter(buf)
309-
h := []string{"Files", "Coverage", "+/-"}
309+
h := []string{"Files", "Coverage", "+/-", "Status"}
310310
table.SetHeader(h)
311311
table.SetAutoFormatHeaders(false)
312312
table.SetAutoWrapText(false)

0 commit comments

Comments
 (0)