diff options
author | Ryan Clements <ryanclementshax@gmail.com> | 2023-06-16 06:43:59 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-16 19:43:59 +0900 |
commit | d32287d2111ec7b845e09c7cfe6a5d779c5f3bd1 (patch) | |
tree | 20341750a687b05458a5cae8a634fb3ac79888f9 /cli/tests/unit_node/testdata/child_process_unref.js | |
parent | 239dc5e681ad61fb77ed7e0791a8512d6842040b (diff) |
fix(ext/node): remove fromFileUrl from "node:path" (#19504)
Diffstat (limited to 'cli/tests/unit_node/testdata/child_process_unref.js')
-rw-r--r-- | cli/tests/unit_node/testdata/child_process_unref.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/tests/unit_node/testdata/child_process_unref.js b/cli/tests/unit_node/testdata/child_process_unref.js index cc7815d97..8201ac44d 100644 --- a/cli/tests/unit_node/testdata/child_process_unref.js +++ b/cli/tests/unit_node/testdata/child_process_unref.js @@ -1,8 +1,9 @@ import cp from "node:child_process"; import * as path from "node:path"; +import { fileURLToPath } from "node:url"; const script = path.join( - path.dirname(path.fromFileUrl(import.meta.url)), + path.dirname(fileURLToPath(import.meta.url)), "infinite_loop.js", ); const childProcess = cp.spawn(Deno.execPath(), ["run", script]); |