From a1afbbde201661b8ef97ec581e8e4a74bce2996a Mon Sep 17 00:00:00 2001 From: MillenniumEarl Date: Mon, 15 Mar 2021 21:35:56 +0100 Subject: [PATCH] Prettify scripts --- src/example.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/example.ts b/src/example.ts index b036a7f..89f97a5 100644 --- a/src/example.ts +++ b/src/example.ts @@ -60,7 +60,11 @@ async function main() { // Log in the platform console.log("Authenticating..."); - const result = await login(process.env.F95_USERNAME, process.env.F95_PASSWORD, insert2faCode); + const result = await login( + process.env.F95_USERNAME, + process.env.F95_PASSWORD, + insert2faCode + ); console.log(`Authentication result: ${result.message}\n`); // Manage failed login @@ -83,7 +87,9 @@ async function main() { latestQuery.includedTags = ["3d game"]; const latestUpdates = await getLatestUpdates(latestQuery, 1); - console.log(`"${latestUpdates.shift().name}" was the last "3d game" tagged game to be updated\n`); + console.log( + `"${latestUpdates.shift().name}" was the last "3d game" tagged game to be updated\n` + ); // Get game data for (const gamename of gameList) {