mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-26 15:31:53 +00:00
c985ca29dd
In the case that we are reading binary files in repositories, we should not log a WARN that there are "hidden" characters in it, as it's a binary file. We can use a common heuristic (at least according to Claude Sonnet 4.5) to look for null bytes at the beginning of our files, and not log the warning in that case. Co-authored-by: Claude Sonnet 4.5 <jamie.tanna+github-copilot@mend.io>