Skip to content

Commit ca37fcd

Browse files
committed
cleaning up wrapper
1 parent 7e49c53 commit ca37fcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/wrapper/CxWrapper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,10 +309,10 @@ export class CxWrapper {
309309
CxConstants.CMD_CHAT_VULNERABILITY, vulnerability,
310310
CxConstants.CMD_CHAT_INPUT, input,
311311
];
312-
if (!!conversationId) {
312+
if (conversationId) {
313313
commands.push(CxConstants.CMD_CHAT_CONVERSATION_ID, conversationId)
314314
}
315-
if (!!model) {
315+
if (model) {
316316
commands.push(CxConstants.CMD_CHAT_MODEL, model)
317317
}
318318
commands.push(...this.initializeCommands(false));

0 commit comments

Comments
 (0)