summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/commands/aboutCommand.ts
diff options
context:
space:
mode:
authorShreya Keshive <[email protected]>2025-08-19 11:22:21 -0700
committerGitHub <[email protected]>2025-08-19 18:22:21 +0000
commit4828e4daf198a675ce118cec08dcfbd0bfbb28a6 (patch)
tree9a4441cea7a3aab3553175c9a9b310d4d5ffa732 /packages/cli/src/ui/commands/aboutCommand.ts
parent9588aa6ef971918b8acfeefdad4f6a33f93349cf (diff)
feat: Add IDE client to /bug & /about if IDE mode is enabled (#6567)
Diffstat (limited to 'packages/cli/src/ui/commands/aboutCommand.ts')
-rw-r--r--packages/cli/src/ui/commands/aboutCommand.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/cli/src/ui/commands/aboutCommand.ts b/packages/cli/src/ui/commands/aboutCommand.ts
index 2512fead..44bf00dd 100644
--- a/packages/cli/src/ui/commands/aboutCommand.ts
+++ b/packages/cli/src/ui/commands/aboutCommand.ts
@@ -29,7 +29,8 @@ export const aboutCommand: SlashCommand = {
context.services.settings.merged.selectedAuthType || '';
const gcpProject = process.env['GOOGLE_CLOUD_PROJECT'] || '';
const ideClient =
- context.services.config?.getIdeClient()?.getDetectedIdeDisplayName() ||
+ (context.services.config?.getIdeMode() &&
+ context.services.config?.getIdeClient()?.getDetectedIdeDisplayName()) ||
'';
const aboutItem: Omit<HistoryItemAbout, 'id'> = {