Tyler
2026-06-25 11:03:05 -04:00
committed by GitHub
parent 996a3f89d5
commit 73cc31cc52
212 changed files with 0 additions and 2902 deletions

View File

@@ -146,7 +146,6 @@ export async function readFileContent(
): Promise<FileContent> {
const { blob } = await readBlob({ fs, dir, oid, filepath });
// Check first 512 bytes for NUL to detect binary
const checkLength = Math.min(blob.length, 512);
for (let i = 0; i < checkLength; i++) {
if (blob[i] === 0) {