Semver check: the NUL and TAB in the ls-tree reader are escapes, so the file is text

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-03 11:43:42 +02:00
commit c84a1fcc06

View file

@ -253,10 +253,10 @@ function firstTagTrackingManaged(tags, dir, cwd) {
encoding: "utf8",
stdio: ["ignore", "pipe", "ignore"],
})
.split("")
.split("\0")
.filter((entry) => entry.toLowerCase().endsWith(".dll"));
for (const entry of entries) {
const tab = entry.indexOf(" ");
const tab = entry.indexOf("\t");
const id = entry.slice(0, tab).split(" ")[2];
const path = entry.slice(tab + 1);
if (!managedBlobs.has(id)) {