Skip to content

Commit 6900cd0

Browse files
karreiroaswamy
andcommitted
Update packages/theme/src/cli/services/init.ts
Co-authored-by: Alok Swamy <[email protected]>
1 parent 0a0bdea commit 6900cd0

File tree

1 file changed

+2
-1
lines changed
  • packages/theme/src/cli/services

1 file changed

+2
-1
lines changed

packages/theme/src/cli/services/init.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,11 @@ export async function createAIInstructions(themeRoot: string, aiInstruction: AII
8585
shallow: true,
8686
})
8787

88-
const instructions =
88+
const instructions = (
8989
aiInstruction === 'all'
9090
? (Object.keys(SUPPORTED_AI_INSTRUCTIONS).filter((key) => key !== 'all') as AIInstruction[])
9191
: [aiInstruction]
92+
) as Exclude<AIInstruction, 'all'>[]
9293

9394
try {
9495
const sourcePath = joinPath(tempDir, 'ai', 'github', 'copilot-instructions.md')

0 commit comments

Comments
 (0)