CLI-52 Fix typos in help and error messages#55
CLI-52 Fix typos in help and error messages#55kirill-knize-sonarsource merged 2 commits intomasterfrom
Conversation
kirill-knize-sonarsource
commented
Feb 27, 2026
- Fix wrong command hints: 'sonar secret install' → 'sonar install secrets'
- Fix wrong command hints: 'sonar secret status' → 'sonar install secrets --status'
- Fix auth error message: replace env var instructions with 'sonar auth login'
- Fix 'Press any key' prompt: rename to pressEnterKeyPrompt, implement raw stdin so only Enter advances and all other keys are silently consumed
- Fix misleading 404 error: map HTTP 403/404 to 'Access denied' message (SonarQube servers return 404 in place of 403 for auth failures)
Remediation Agent Summary 📊
Suggested fixes (5)
Note Help us improve the Agent! |
Agent Fix (Issue 1 of 5)
Location 1: src/sonarqube/client.ts:28-29 Review
🔒 Commit changes (0 of 5 selected)
|
Agent Fix (Issue 2 of 5)
Location 1: src/sonarqube/client.ts:28-29 Review
🔒 Commit changes (0 of 5 selected)
|
Agent Fix (Issue 3 of 5)
Location 1: src/ui/components/prompts.ts:78-82 Review
🔒 Commit changes (0 of 5 selected)
|
Agent Fix (Issue 4 of 5)
Location 1: src/ui/components/prompts.ts:78-82 Review
🔒 Commit changes (0 of 5 selected)
|
Agent Fix (Issue 5 of 5)
Location 1: src/ui/components/prompts.ts:78-82 Review
🔒 Commit changes (0 of 5 selected)
|
57f0bc3 to
2aaea7f
Compare
- Fix wrong command hints: 'sonar secret install' → 'sonar install secrets' - Fix wrong command hints: 'sonar secret status' → 'sonar install secrets --status' - Fix auth error message: replace env var instructions with 'sonar auth login' - Fix 'Press any key' prompt: rename to pressEnterKeyPrompt, implement raw stdin so only Enter advances and all other keys are silently consumed - Fix misleading 404 error: map HTTP 403/404 to 'Access denied' message (SonarQube servers return 404 in place of 403 for auth failures) - Replace magic numbers with named constants - Add tests to cover new help messages and raw stdin prompt
5ed4cb3 to
95957f9
Compare
SonarQube reviewer guideSummary: Refactor CLI commands and improve user prompts: rename Review Focus:
Start review at:
|



