[ci] yarn format
This commit is contained in:
parent
2f46e87fe3
commit
df881f5a17
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ export async function run() {
|
|||
`"${new Date().toISOString()}"`,
|
||||
].join(',');
|
||||
|
||||
const statCsv = readFileSync('scripts/stats/stats.csv', {encoding: 'utf-8'});
|
||||
const statCsv = readFileSync('scripts/stats/stats.csv', { encoding: 'utf-8' });
|
||||
const [statHeader, ...statItems] = statCsv.split('\n');
|
||||
const updatedStatCsv = [statHeader, entry, ...statItems].join('\n');
|
||||
writeFileSync('scripts/stats/stats.csv', updatedStatCsv);
|
||||
|
|
Loading…
Reference in a new issue