diff options
Diffstat (limited to 'runtime/js/40_process.js')
-rw-r--r-- | runtime/js/40_process.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/js/40_process.js b/runtime/js/40_process.js index 8d9f402ff..14c31fa8d 100644 --- a/runtime/js/40_process.js +++ b/runtime/js/40_process.js @@ -3,7 +3,7 @@ ((window) => { const core = window.Deno.core; - const { File } = window.__bootstrap.files; + const { FsFile } = window.__bootstrap.files; const { readAll } = window.__bootstrap.io; const { assert, pathFromURL } = window.__bootstrap.util; const { @@ -46,15 +46,15 @@ this.pid = res.pid; if (res.stdinRid && res.stdinRid > 0) { - this.stdin = new File(res.stdinRid); + this.stdin = new FsFile(res.stdinRid); } if (res.stdoutRid && res.stdoutRid > 0) { - this.stdout = new File(res.stdoutRid); + this.stdout = new FsFile(res.stdoutRid); } if (res.stderrRid && res.stderrRid > 0) { - this.stderr = new File(res.stderrRid); + this.stderr = new FsFile(res.stderrRid); } } |