From 6804f2f483dd431eca3c8d1858c3ffea30c2a99d Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Wed, 3 Dec 2025 16:02:32 +0000 Subject: [PATCH] chore: normalize spacing in whoami output --- src/index.ts | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/index.ts b/src/index.ts index fe98f1d..a5c7a5f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -53,7 +53,7 @@ function readConfigFile(path: string): Partial { const parsed = JSON5.parse(raw) as Partial; return parsed ?? {}; } catch (error) { - console.error(colors.muted(`⚠️ Failed to parse config at ${path}: ${error instanceof Error ? error.message : String(error)}`)); + console.error(colors.muted(`⚠️ Failed to parse config at ${path}: ${error instanceof Error ? error.message : String(error)}`)); return {}; } } @@ -206,7 +206,7 @@ program }); for (const warning of warnings) { - console.error(`⚠️ ${warning}`); + console.error(`⚠️ ${warning}`); } if (!cookies.authToken || !cookies.ct0) { @@ -280,7 +280,7 @@ program }); for (const warning of warnings) { - console.error(`⚠️ ${warning}`); + console.error(`⚠️ ${warning}`); } if (!cookies.authToken || !cookies.ct0) { @@ -356,7 +356,7 @@ program }); for (const warning of warnings) { - console.error(`⚠️ ${warning}`); + console.error(`⚠️ ${warning}`); } if (!cookies.authToken || !cookies.ct0) { @@ -424,7 +424,7 @@ program }); for (const warning of warnings) { - console.error(`⚠️ ${warning}`); + console.error(`⚠️ ${warning}`); } if (!cookies.authToken || !cookies.ct0) { @@ -481,7 +481,7 @@ program }); for (const warning of warnings) { - console.error(`⚠️ ${warning}`); + console.error(`⚠️ ${warning}`); } if (!cookies.authToken || !cookies.ct0) { @@ -540,7 +540,7 @@ program }); for (const warning of warnings) { - console.error(`⚠️ ${warning}`); + console.error(`⚠️ ${warning}`); } if (!cookies.authToken || !cookies.ct0) { @@ -594,7 +594,7 @@ program }); for (const warning of warnings) { - console.error(`⚠️ ${warning}`); + console.error(`⚠️ ${warning}`); } if (!cookies.authToken || !cookies.ct0) { @@ -644,7 +644,7 @@ program if (result.user.email) { console.log(`📧 ${result.user.email}`); } - console.log(`⚙️ Engine: ${resolvedEngine}`); + console.log(`⚙️ Engine: ${resolvedEngine}`); return; } @@ -660,7 +660,7 @@ program }); for (const warning of warnings) { - console.error(`⚠️ ${warning}`); + console.error(`⚠️ ${warning}`); } if (!cookies.authToken || !cookies.ct0) { @@ -678,7 +678,7 @@ program if (result.success && result.user) { console.log(`🙋 Logged in as @${result.user.username} (${result.user.name})`); console.log(`🪪 User ID: ${result.user.id}`); - console.log(`⚙️ Engine: ${resolvedEngine}`); + console.log(`⚙️ Engine: ${resolvedEngine}`); } else { console.error(`❌ Failed to determine current user: ${result.error ?? 'Unknown error'}`); process.exit(1); @@ -717,7 +717,7 @@ program } if (warnings.length > 0) { - console.log('\n⚠️ Warnings:'); + console.log('\n⚠️ Warnings:'); for (const warning of warnings) { console.log(` - ${warning}`); }