diff --git a/commands/services/tail.ts b/commands/services/tail.ts index 28b38b2..f1859b8 100644 --- a/commands/services/tail.ts +++ b/commands/services/tail.ts @@ -59,7 +59,7 @@ export const servicesTailCommand = let writer: WritableStreamDefaultWriter; try { - conn = await stream.connection; + conn = await stream.opened; reader = await conn.readable.getReader(); writer = await conn.writable.getWriter(); } catch (err) { diff --git a/util/find-up.test.ts b/util/find-up.test.ts index 3a5106f..e7c0128 100644 --- a/util/find-up.test.ts +++ b/util/find-up.test.ts @@ -51,5 +51,5 @@ Deno.test('findUp', async (t) => { assertEquals(ret, null); }); - Deno.remove(root, { recursive: true }); + await Deno.remove(root, { recursive: true }); });