Skip to content

Commit 653bf7f

Browse files
sean-robertsSean Roberts
andauthored
fix: ai-context was not able to find catchall due to early filter (#7320)
Co-authored-by: Sean Roberts <[email protected]>
1 parent 02bb948 commit 653bf7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/recipes/ai-context/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const description = 'Manage context files for AI tools'
2020
// context consumers endpoints returns all supported IDE and other consumers
2121
// that can be used to pull context files. It also includes a catchall consumer
2222
// for outlining all context that an unspecified consumer would handle.
23-
const allContextConsumers = (await getContextConsumers(version)).filter((consumer) => !consumer.hideFromCLI)
23+
const allContextConsumers = await getContextConsumers(version)
2424
const cliContextConsumers = allContextConsumers.filter((consumer) => !consumer.hideFromCLI)
2525

2626
const rulesForDefaultConsumer = allContextConsumers.find((consumer) => consumer.key === 'catchall-consumer') ?? {

0 commit comments

Comments
 (0)