summaryrefslogtreecommitdiff
path: root/packages/cli/src/services/BuiltinCommandLoader.ts
diff options
context:
space:
mode:
authorLee James <[email protected]>2025-08-06 09:06:37 -0400
committerGitHub <[email protected]>2025-08-06 13:06:37 +0000
commitb38f377c9a2672e88dd15119b38d908c0f00b54a (patch)
treef8cd37038f592ab31f501c9f85df7fc659ae4f64 /packages/cli/src/services/BuiltinCommandLoader.ts
parentaab850668c99e1c39a55036069d9f4b06ca458f4 (diff)
feat: Enable /setup-github to always run, and error appropriately (#5653)
Co-authored-by: Jacob Richman <[email protected]>
Diffstat (limited to 'packages/cli/src/services/BuiltinCommandLoader.ts')
-rw-r--r--packages/cli/src/services/BuiltinCommandLoader.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/cli/src/services/BuiltinCommandLoader.ts b/packages/cli/src/services/BuiltinCommandLoader.ts
index 46ecb37c..c09f7c61 100644
--- a/packages/cli/src/services/BuiltinCommandLoader.ts
+++ b/packages/cli/src/services/BuiltinCommandLoader.ts
@@ -32,7 +32,6 @@ import { themeCommand } from '../ui/commands/themeCommand.js';
import { toolsCommand } from '../ui/commands/toolsCommand.js';
import { vimCommand } from '../ui/commands/vimCommand.js';
import { setupGithubCommand } from '../ui/commands/setupGithubCommand.js';
-import { isGitHubRepository } from '../utils/gitUtils.js';
/**
* Loads the core, hard-coded slash commands that are an integral part
@@ -74,7 +73,7 @@ export class BuiltinCommandLoader implements ICommandLoader {
themeCommand,
toolsCommand,
vimCommand,
- ...(isGitHubRepository() ? [setupGithubCommand] : []),
+ setupGithubCommand,
];
return allDefinitions.filter((cmd): cmd is SlashCommand => cmd !== null);