Skip to content

Skip binary files when scanning scripts - #21

Merged
aslam merged 3 commits into
aslam:mainfrom
JuanVqz:skip-binary-files
Oct 13, 2026
Merged

aslam merged 3 commits into
aslam:mainfrom
JuanVqz:skip-binary-files

Conversation

@JuanVqz

@JuanVqz JuanVqz commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • A compiled executable under bin/ no longer aborts the run. Matching its lines raised invalid byte sequence in UTF-8 before any report was written.
  • The scan now skips any file whose contents aren't valid UTF-8. Text files are scanned as before, including ones with non-ASCII characters.

A compiled executable under bin/ isn't valid UTF-8. Matching its lines
raised "invalid byte sequence in UTF-8" and aborted the whole run
before any report was written.
@aslam
aslam merged commit 3970238 into aslam:main Oct 13, 2026
7 checks passed
@aslam aslam self-assigned this Oct 13, 2026
@aslam aslam mentioned this pull request Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants