Skip to content

Commit de45bd3

Browse files
committed
fix: linter
1 parent da57517 commit de45bd3

File tree

1 file changed

+1
-1
lines changed
  • packages/core/src/codewhispererChat/controllers/chat

1 file changed

+1
-1
lines changed

packages/core/src/codewhispererChat/controllers/chat/controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1069,7 +1069,7 @@ export class ChatController {
10691069
if (
10701070
commandName &&
10711071
triggerPayload.message &&
1072-
triggerPayload.context?.find((context) => typeof context !== 'string' && context.command === commandName)
1072+
triggerPayload.context?.some((context) => typeof context !== 'string' && context.command === commandName)
10731073
) {
10741074
const truncatedCommand = commandName.startsWith('@') ? commandName.slice(1) : commandName
10751075
triggerPayload.message = triggerPayload.message.replace(truncatedCommand, commandName)

0 commit comments

Comments
 (0)