f: JSON.stringify(data, null, 2)

This commit is contained in:
AJ ONeal
2023-12-28 02:05:16 -07:00
parent de92e02bb1
commit f93ca34e68
@@ -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();