From 2ab3a470f0ee7b08d497972f1dc8f4977ec522b5 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Sat, 3 Feb 2024 20:29:39 -0500 Subject: [PATCH] Maybe fix windows CI --- src/path.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/path.test.ts b/src/path.test.ts index 406bc21..6dee2b7 100644 --- a/src/path.test.ts +++ b/src/path.test.ts @@ -325,8 +325,8 @@ Deno.test("exists", async () => { }); Deno.test("realpath", async () => { - await withTempDir(async () => { - let file = createPathRef("file").resolve(); + await withTempDir(async (tempDir) => { + let file = tempDir.join("file").resolve(); file.writeTextSync(""); // need to do realPathSync for GH actions CI file = file.realPathSync();