Stop dumping binary data to the console

This was freaking out and freezing the Puter server, and my entire
terminal app. XD
This commit is contained in:
Sam Atkins
2024-05-09 15:55:07 +01:00
parent c2c87bf0ba
commit f3269693de
@@ -250,7 +250,7 @@ class FileCacheService extends AdvancedBase {
const path = this._get_path(tracker.key);
console.log(`precache fetch key I guess?`, tracker.key);
const data = this.precache.get(tracker.key);
console.log(`path and data: ${path} ${data}`);
// console.log(`path and data: ${path} ${data}`);
await fs.promises.writeFile(path, data);
this.precache.delete(tracker.key);
tracker.phase = FileTracker.PHASE_DISK;