fix(cursor): show auto-detect error message, add subcommand sync comment

This commit is contained in:
Tam Nhu Tran
2026-02-12 07:59:39 +07:00
parent ce1915366d
commit 887efa4069
2 changed files with 6 additions and 1 deletions
+5 -1
View File
@@ -107,7 +107,11 @@ async function handleAuth(): Promise<number> {
// Fall back to manual import
console.log('');
console.log('Auto-detection failed. Please provide credentials manually.');
if (autoResult.error) {
console.log(`Auto-detection failed: ${autoResult.error}`);
} else {
console.log('Auto-detection failed. Please provide credentials manually.');
}
console.log('');
console.log('To find your Cursor credentials:');
console.log(' 1. Open Cursor IDE');