Skip to content

Commit dd2b79d

Browse files
authored
Merge pull request #166 from covespace/fix_click_option_error
Add double dash to DevChat arguments
2 parents 34ae392 + 2afe176 commit dd2b79d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/toolwrapper/devchat.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ class DevChat {
145145

146146
async chat(content: string, options: ChatOptions = {}, onData: (data: ChatResponse) => void): Promise<ChatResponse> {
147147
const args = await this.buildArgs(options);
148+
args.push("--");
148149
args.push(content);
149150

150151
const workspaceDir = UiUtilWrapper.workspaceFoldersFirstPath();

0 commit comments

Comments
 (0)