Skip to content

Commit e441e97

Browse files
committed
fix bug
1 parent 319feef commit e441e97

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmd/description/main.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ func run(ctx context.Context) error {
6262

6363
var sumDiffs int
6464
for _, file := range diff.Files {
65+
if file.Patch == nil {
66+
continue
67+
}
6568
sumDiffs += len(*file.Patch)
6669
}
6770

0 commit comments

Comments
 (0)