mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-03-11 02:15:57 -05:00
chore: fix local script
This commit is contained in:
parent
061e9a9dee
commit
98d808bcd1
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ export async function fetchNpmjsApiDownloadsWeekly() {
|
|||
|
||||
npmjsDownloads[currentDate] = response.body.downloads;
|
||||
|
||||
await fs.writeFile(npmjsFile, npmjsDownloads);
|
||||
await fs.writeFile(npmjsFile, JSON.stringify(npmjsDownloads, null, 4));
|
||||
debug('npmjs downloads written at %s ends', npmjsFile);
|
||||
} catch (err: any) {
|
||||
// eslint-disable-next-line no-console
|
||||
|
|
Loading…
Add table
Reference in a new issue