Skip to content

Commit 95a5802

Browse files
committed
fix: skip empty annotations in result sheet
1 parent 52f8d4d commit 95a5802

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

excel/result.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ func ResultXLSX(doc *sie.Document) ([]byte, error) {
8888
}
8989

9090
for _, adoc := range docs {
91+
if len(adoc.doc.Entries) == 0 {
92+
continue
93+
}
9194
_, err := xlsx.NewSheet(adoc.name)
9295
if err != nil {
9396
return nil, err

0 commit comments

Comments
 (0)