Write to new file
so data isn't overwritten
This commit is contained in:
parent
7668b72f58
commit
0f4cdbee55
0
output/results.json
Normal file
0
output/results.json
Normal 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);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user