summaryrefslogtreecommitdiff
path: root/cli/tests/workers/read_check_granular_worker.js
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/workers/read_check_granular_worker.js')
-rw-r--r--cli/tests/workers/read_check_granular_worker.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/cli/tests/workers/read_check_granular_worker.js b/cli/tests/workers/read_check_granular_worker.js
index d1a205391..25f2058b3 100644
--- a/cli/tests/workers/read_check_granular_worker.js
+++ b/cli/tests/workers/read_check_granular_worker.js
@@ -1,9 +1,7 @@
-import { fromFileUrl } from "../../../test_util/std/path/mod.ts";
-
onmessage = async ({ data }) => {
const { state } = await Deno.permissions.query({
name: "read",
- path: fromFileUrl(new URL(data.route, import.meta.url)),
+ path: data.path,
});
postMessage({