Skip to content

Commit 1e95258

Browse files
Prettify JSON files
1 parent f0ab666 commit 1e95258

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/update-data.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ const saveData = async (year: number, conference: string, data: unknown) => {
3131
await fs.mkdir(dir)
3232
} catch (e) {}
3333

34-
await fs.writeFile(dest, JSON.stringify(data))
34+
// prettify it for better diffs
35+
await fs.writeFile(dest, JSON.stringify(data, null, 2))
3536
}
3637

3738
const main = async () => {

0 commit comments

Comments
 (0)