Skip to content

Commit 6f28579

Browse files
bennetboagu-z
andcommitted
Merge branch 'main' into add-experiment-commands
Co-authored-by: Agus Zubiaga <agus@zed.dev>
2 parents f46a298 + 1dc5659 commit 6f28579

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

typescript/acp.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,12 +262,12 @@ export class ClientSideConnection implements Agent {
262262
input: WritableStream<Uint8Array>,
263263
output: ReadableStream<Uint8Array>,
264264
) {
265+
const client = toClient(this);
266+
265267
const handler = async (
266268
method: string,
267269
params: unknown,
268270
): Promise<unknown> => {
269-
const client = toClient(this);
270-
271271
switch (method) {
272272
case schema.CLIENT_METHODS.fs_write_text_file: {
273273
const validatedParams =

0 commit comments

Comments
 (0)