fix dockerfile, clean up logging.

This commit is contained in:
Nystik
2026-03-30 22:27:50 +02:00
parent f007bb7cdd
commit 1303376355
2 changed files with 5 additions and 11 deletions

View File

@@ -28,17 +28,7 @@ export function applyReadTransform(path, data) {
}
try {
const result = fn(data);
if (result !== data) {
const before = typeof data === "string" ? data : new TextDecoder().decode(data);
const after = typeof result === "string" ? result : new TextDecoder().decode(result);
console.log(`[shim:fs] Read transform applied: ${norm}`);
console.log(`[shim:fs] before:`, before);
console.log(`[shim:fs] after:`, after);
}
return result;
return fn(data);
} catch {
return data;
}