Skip to content

Commit 4e1e192

Browse files
authored
fix(auth): improve CLI output formatting for user code verification (#24)
1 parent 9819347 commit 4e1e192

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/auth/device-auth-flow.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ async function requestAuthorization() {
6464

6565
const jsonRes = await response.json();
6666
if (!jsonRes.error) {
67-
cliOutput(`Verify this code on screen ${chalk.bold.green(jsonRes.user_code)}`);
67+
cliOutput(`\nVerify this code on screen: ${chalk.bold.green(jsonRes.user_code)}\n`);
6868
// Wait for user to press Enter to open browser
6969
await promptForBrowserPermission();
7070
openBrowser(jsonRes.verification_uri_complete);

0 commit comments

Comments
 (0)