diff --git a/src/commands/user/index.test.ts b/src/commands/user/index.test.ts index 83ec9e9..99be24d 100644 --- a/src/commands/user/index.test.ts +++ b/src/commands/user/index.test.ts @@ -72,7 +72,7 @@ describe('userCommand', () => { expect(getUser).toHaveBeenCalledWith('valid-token', 'eu') expect(konsola.ok).toHaveBeenCalledWith( - `Hi: ${chalk.bold('John Doe')}, you current logged in with: ${chalk.hex('#45bfb9')(mockResponse.user.email)} on region: ${chalk.bold('eu')}`, + `Hi ${chalk.bold('John Doe')}, you are currently logged in with ${chalk.hex('#45bfb9')(mockResponse.user.email)} on ${chalk.bold('eu')} region`, ) }) diff --git a/src/commands/user/index.ts b/src/commands/user/index.ts index 36bc366..fce06f5 100644 --- a/src/commands/user/index.ts +++ b/src/commands/user/index.ts @@ -24,7 +24,7 @@ export const userCommand = program try { const { password, region } = state as NetrcMachine const { user } = await getUser(password, region) - konsola.ok(`Hi: ${chalk.bold(user.friendly_name)}, you current logged in with: ${chalk.hex('#45bfb9')(user.email)} on region: ${chalk.bold(region)}`) + konsola.ok(`Hi ${chalk.bold(user.friendly_name)}, you are currently logged in with ${chalk.hex('#45bfb9')(user.email)} on ${chalk.bold(region)} region`) } catch (error) { handleError(error as Error, true)