From 28f2904c3c2a237ea5bafc10f854dafe3f52fff0 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Tue, 11 Jul 2023 13:05:07 +0200 Subject: [PATCH] prettier 2 --- crawl.mjs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/crawl.mjs b/crawl.mjs index 0560ddc..1639200 100644 --- a/crawl.mjs +++ b/crawl.mjs @@ -11,7 +11,7 @@ fs.mkdirSync(outDir, { recursive: true }); // crawl instance stats try { const recommended_instances = JSON.parse( - fs.readFileSync(recommendationsFile, "utf8") + fs.readFileSync(recommendationsFile, "utf8"), ); var all_recommended = []; for (var k in recommended_instances) { @@ -37,7 +37,7 @@ try { { cwd: "lemmy-stats-crawler", encoding: "utf8", - } + }, ); let savedOutput = ""; @@ -59,11 +59,12 @@ try { stats.instance_details = stats.instance_details // Exclude instances with closed registration .filter( - i => i.site_info.site_view.local_site.registration_mode != "closed" + i => i.site_info.site_view.local_site.registration_mode != "closed", ) // Exclude instances with few active users .filter( - i => i.site_info.site_view.counts.users_active_month > min_monthly_users + i => + i.site_info.site_view.counts.users_active_month > min_monthly_users, ); let stats2 = {