From 0f4cdbee553f7dcf0aac8c00c98f1aba3f054006 Mon Sep 17 00:00:00 2001 From: Chris-Prebid Date: Tue, 1 Oct 2024 11:53:14 -0600 Subject: [PATCH] Write to new file so data isn't overwritten --- output/results.json | 0 prebid.js | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 output/results.json diff --git a/output/results.json b/output/results.json new file mode 100644 index 0000000..e69de29 diff --git a/prebid.js b/prebid.js index c2e9b04..c438d95 100644 --- a/prebid.js +++ b/prebid.js @@ -65,7 +65,7 @@ async function prebidExplorer() { try { // Write results as valid JSON array const jsonOutput = JSON.stringify(results, null, 2); // Pretty print with 2 spaces - fs.writeFileSync('output/10k.json', jsonOutput, 'utf8'); + fs.writeFileSync('output/results.json', jsonOutput, 'utf8'); } catch (err) { console.error(err); }