From 12c59e3d9c16768c085cbfa46b969f17eb0848ec Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Thu, 29 Jun 2023 22:12:59 +0200 Subject: [PATCH] prettier --- crawl.mjs | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/crawl.mjs b/crawl.mjs index becab60..cee0a82 100644 --- a/crawl.mjs +++ b/crawl.mjs @@ -53,17 +53,14 @@ try { // Crawl results from all instances include tons of data which needs to be compiled. // If it is too much data it breaks the build, so we need to exclude as much as possible. stats.instance_details = stats.instance_details - // Exclude instances with closed registration - .filter( - 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 - ); + // Exclude instances with closed registration + .filter( + 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 + ); // Exclude unnecessary data stats.instance_details.forEach(i => { delete i.site_info.admins;