summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/hooks/atCommandProcessor.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/cli/src/ui/hooks/atCommandProcessor.ts')
-rw-r--r--packages/cli/src/ui/hooks/atCommandProcessor.ts18
1 files changed, 9 insertions, 9 deletions
diff --git a/packages/cli/src/ui/hooks/atCommandProcessor.ts b/packages/cli/src/ui/hooks/atCommandProcessor.ts
index cef2f811..50b8fbbd 100644
--- a/packages/cli/src/ui/hooks/atCommandProcessor.ts
+++ b/packages/cli/src/ui/hooks/atCommandProcessor.ts
@@ -362,20 +362,20 @@ export async function handleAtCommand({
// Inform user about ignored paths
const totalIgnored =
- ignoredByReason.git.length +
- ignoredByReason.gemini.length +
- ignoredByReason.both.length;
+ ignoredByReason['git'].length +
+ ignoredByReason['gemini'].length +
+ ignoredByReason['both'].length;
if (totalIgnored > 0) {
const messages = [];
- if (ignoredByReason.git.length) {
- messages.push(`Git-ignored: ${ignoredByReason.git.join(', ')}`);
+ if (ignoredByReason['git'].length) {
+ messages.push(`Git-ignored: ${ignoredByReason['git'].join(', ')}`);
}
- if (ignoredByReason.gemini.length) {
- messages.push(`Gemini-ignored: ${ignoredByReason.gemini.join(', ')}`);
+ if (ignoredByReason['gemini'].length) {
+ messages.push(`Gemini-ignored: ${ignoredByReason['gemini'].join(', ')}`);
}
- if (ignoredByReason.both.length) {
- messages.push(`Ignored by both: ${ignoredByReason.both.join(', ')}`);
+ if (ignoredByReason['both'].length) {
+ messages.push(`Ignored by both: ${ignoredByReason['both'].join(', ')}`);
}
const message = `Ignored ${totalIgnored} files:\n${messages.join('\n')}`;