Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/atxp/src/login.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

// If token provided directly, use it (headless mode)
if (options.token) {
connectionString = options.token;
connectionString = `https://accounts.atxp.ai?connection_token=${options.token}`;
console.log('Using provided token for headless authentication...');
} else if (options.qr) {
// QR code mode explicitly requested
Expand Down Expand Up @@ -142,7 +142,7 @@
console.log('Waiting for authentication...');
console.log(chalk.gray('(If browser did not open, press Ctrl+C and run: npx atxp login --qr)'));

} catch (openError) {

Check warning on line 145 in packages/atxp/src/login.ts

View workflow job for this annotation

GitHub Actions / test

'openError' is defined but never used
// Browser open failed, fall back to QR
console.log();
console.log(chalk.yellow('Could not open browser. Switching to QR code...'));
Expand Down