Skip to content

Commit a24f748

Browse files
cleanup: format
1 parent fcf8ea3 commit a24f748

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

src/CodexEventHandler.ts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -187,12 +187,14 @@ export class CodexEventHandler {
187187
title: "Read file",
188188
locations: [{path: commandAction.path}],
189189
};
190-
} else if (commandAction.type === "search" && commandAction.query) return {
191-
sessionUpdate: "tool_call",
192-
toolCallId: id,
193-
status: "in_progress",
194-
kind: "search",
195-
title: `Search '${commandAction.query}'`,
190+
} else if (commandAction.type === "search" && commandAction.query) {
191+
return {
192+
sessionUpdate: "tool_call",
193+
toolCallId: id,
194+
status: "in_progress",
195+
kind: "search",
196+
title: `Search '${commandAction.query}'`,
197+
}
196198
}
197199
return {
198200
sessionUpdate: "tool_call",

0 commit comments

Comments
 (0)