add a test for scan tag errors

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

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