Skip to content

Commit

Permalink
Update extractor.go
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu MOREL <[email protected]>
  • Loading branch information
mmorel-35 authored Oct 21, 2023
1 parent 7dd4d86 commit ce3edb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/anonymizer/app/uiconv/extractor.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (e *Extractor) Run() error {
spans = append(spans, *span)
}
}
if err != nil && !errors.Is(err, io.EOF) {
if !(err != nil && errors.Is(err, io.EOF)) {
return fmt.Errorf("failed when scanning the file: %w", err)
}
trace := uimodel.Trace{
Expand Down

0 comments on commit ce3edb6

Please sign in to comment.