Skip to content

Commit 1773dda

Browse files
committed
crash hotfix
1 parent 9c85c32 commit 1773dda

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

internal/project/helpers.go

+3
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,9 @@ func ScanMarkers(data interface{}, procFunc MarkerScanner, unit Unit) error {
307307
}
308308
out.Field(i).Set(val)
309309
} else {
310+
if !out.Field(i).CanInterface() {
311+
continue
312+
}
310313
err := ScanMarkers(out.Field(i).Interface(), procFunc, unit)
311314
if err != nil {
312315
return err

0 commit comments

Comments
 (0)