Skip to content

Commit

Permalink
Try with absolute paths
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed Dec 19, 2024
1 parent f851100 commit c011c00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ test("Keep a cache, don’t reuse with same file names and different options", a
});

function copyFile(src, dest) {
fs.copyFileSync(path.normalize(src), path.normalize(dest));
fs.copyFileSync(path.resolve(src), path.resolve(dest));
}

test("Keep a cache, don’t reuse with if the image changes, check promise equality", async t => {
Expand Down

0 comments on commit c011c00

Please sign in to comment.