From 9071cbdc25e97153086ac48bd389b04c43e56458 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Fri, 19 Aug 2022 18:53:25 +0200 Subject: Updates scripts and tests from dev/plugins --- scripts/benchmark/connections.js | 6 +++--- scripts/benchmark/users.js | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'scripts/benchmark') diff --git a/scripts/benchmark/connections.js b/scripts/benchmark/connections.js index 661548c3..f74d0c6d 100644 --- a/scripts/benchmark/connections.js +++ b/scripts/benchmark/connections.js @@ -8,7 +8,7 @@ let cores = 1; try { cores = Number(process.env.THREADS) || os.cpus().length; } catch { - console.log("[Bundle] Failed to get thread count! Using 1...") + console.log("[Bundle] Failed to get thread count! Using 1..."); } if (!token) { @@ -46,8 +46,8 @@ function connect() { op: 2, d: { token, - properties: {}, - }, + properties: {} + } }) ); diff --git a/scripts/benchmark/users.js b/scripts/benchmark/users.js index bce67bf4..415d6d8b 100644 --- a/scripts/benchmark/users.js +++ b/scripts/benchmark/users.js @@ -14,9 +14,9 @@ async function main() { consent: true, date_of_birth: "2000-01-01", gift_code_sku_id: null, - captcha_key: null, + captcha_key: null }), - headers: { "content-type": "application/json" }, + headers: { "content-type": "application/json" } }); console.log(i); } -- cgit 1.5.1