diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-03-05 18:46:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-05 22:46:37 +0000 |
commit | 76b173b60c975fe7540d04aac5b7a40be67fe466 (patch) | |
tree | 0d1a58abce1b336e1e20ceeeeb7319030a3142b5 /runtime/js/30_fs.js | |
parent | 1ab16e2426819af2c534e8a99b98f244626de512 (diff) |
refactor: move "pathFromURL" to deno_web extension (#18037)
This API is required by several extensions like "ext/node", "ext/ffi"
and also FS APIs that we want to move to a separate crate. Because
of that "pathFromURL" API was moved to "deno_web" extension so
other extension crates can rely on it.
Diffstat (limited to 'runtime/js/30_fs.js')
-rw-r--r-- | runtime/js/30_fs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/js/30_fs.js b/runtime/js/30_fs.js index fc0bbdca5..19e7f372b 100644 --- a/runtime/js/30_fs.js +++ b/runtime/js/30_fs.js @@ -24,7 +24,7 @@ import { ReadableStreamPrototype, writableStreamForRid, } from "internal:deno_web/06_streams.js"; -import { pathFromURL } from "internal:runtime/06_util.js"; +import { pathFromURL } from "internal:deno_web/00_infra.js"; function chmodSync(path, mode) { ops.op_chmod_sync(pathFromURL(path), mode); |