Skip to content

Commit 7c62c2c

Browse files
authored
Merge pull request #14 from ravilushqa/fix_seg_fault
fix bug
2 parents dfde636 + e441e97 commit 7c62c2c

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)