Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mcastorina committed Jan 19, 2024
1 parent 8464244 commit 9fb1822
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pkg/sources/filesystem/filesystem.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,7 @@ func (s *Source) Enumerate(ctx context.Context, reporter sources.UnitReporter) e
}
fullPath := filepath.Join(path, relativePath)
item := sources.CommonSourceUnit{ID: fullPath}
if err := reporter.UnitOk(ctx, item); err != nil {
return err
}
return nil
return reporter.UnitOk(ctx, item)
})
}
item := sources.CommonSourceUnit{ID: path}
Expand Down

0 comments on commit 9fb1822

Please sign in to comment.