summaryrefslogtreecommitdiff
path: root/runtime/js/40_process.js
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-03-04 23:37:37 -0400
committerGitHub <noreply@github.com>2023-03-05 03:37:37 +0000
commit888ceac7fdc6e9b96d860f183dd2f31df3f3d601 (patch)
treed56e78c736ca50ebf6d091e2804c4e468326befb /runtime/js/40_process.js
parent17574f1ef7adf4aea91ba497759ac3e3fed50f1a (diff)
refactor(runtime): remove 40_files.js, 40_write_file.js and 40_read_file.js (#18018)
JavaScript APIs from "runtime/js/40_files.js" combined abstractions for stdio streams ("Stdout", "Stderr", "Stdin") and file system file ("File", "FsFile"). APIs from "runtime/js/40_read_file.js" and "runtime/js/40_write_file.js" were implemented using ops from "runtime/ops/fs.rs". This file was removed and relevant APIs were moved to "deno_io/12_io.js" and "runtime/js/30_fs.js". This work is meant to enable factoring out "deno_fs" crate.
Diffstat (limited to 'runtime/js/40_process.js')
-rw-r--r--runtime/js/40_process.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/js/40_process.js b/runtime/js/40_process.js
index 0854f402a..bb224ae9c 100644
--- a/runtime/js/40_process.js
+++ b/runtime/js/40_process.js
@@ -2,7 +2,7 @@
const core = globalThis.Deno.core;
const ops = core.ops;
-import { FsFile } from "internal:runtime/40_files.js";
+import { FsFile } from "internal:runtime/30_fs.js";
import { readAll } from "internal:deno_io/12_io.js";
import { pathFromURL } from "internal:runtime/06_util.js";
import { assert } from "internal:deno_web/00_infra.js";