add a test for scan tag errors

This commit is contained in:
sentriz
2022-02-24 19:15:37 +00:00
committed by Senan Kelly
parent 599636663d
commit d3d2ed3469
3 changed files with 41 additions and 2 deletions

No files matched your search

+1 -1
View File
@@ -101,7 +101,7 @@ func (s *Scanner) ScanAndClean(opts ScanOptions) (*Context, error) {
}
if c.errs.Len() > 0 {
return nil, c.errs
return c, c.errs
}
return c, nil