Skip to content

Commit

Permalink
Maybe fix windows CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret committed Feb 4, 2024
1 parent bdd0544 commit 2ab3a47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/path.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 2ab3a47

Please sign in to comment.