Skip to content

Commit

Permalink
f: JSON.stringify(data, null, 2)
Browse files Browse the repository at this point in the history
  • Loading branch information
coolaj86 committed Nov 24, 2023
1 parent 6b3ba9e commit 86060aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _webi/fetch-releases-and-assign-build-targets.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ async function getLatestBuildsInner(Releases, cacheDir, name) {
let dirPath = Path.dirname(dataFile);
await Fs.mkdir(dirPath, { recursive: true });

let json = JSON.stringify(data);
let json = JSON.stringify(data, null, 2);
await Fs.writeFile(dataFile, json, 'utf8');

let seconds = date.valueOf();
Expand Down

0 comments on commit 86060aa

Please sign in to comment.