Write to new file

so data isn't overwritten
This commit is contained in:
Chris-Prebid 2024-10-01 11:53:14 -06:00
parent 7668b72f58
commit 0f4cdbee55
2 changed files with 1 additions and 1 deletions

0
output/results.json Normal file
View File

View File

@ -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);
}