mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-19 20:16:23 +00:00
f: JSON.stringify(data, null, 2)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user