diff options
Diffstat (limited to 'ext/node/polyfills/_process/process.ts')
-rw-r--r-- | ext/node/polyfills/_process/process.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/node/polyfills/_process/process.ts b/ext/node/polyfills/_process/process.ts index 7ba44e431..48b2e4620 100644 --- a/ext/node/polyfills/_process/process.ts +++ b/ext/node/polyfills/_process/process.ts @@ -7,6 +7,7 @@ import { build } from "internal:runtime/js/01_build.js"; import { nextTick as _nextTick } from "internal:deno_node/polyfills/_next_tick.ts"; import { _exiting } from "internal:deno_node/polyfills/_process/exiting.ts"; +import * as fs from "internal:runtime/js/30_fs.js"; /** Returns the operating system CPU architecture for which the Deno binary was compiled */ export function arch(): string { @@ -20,10 +21,10 @@ export function arch(): string { } /** https://nodejs.org/api/process.html#process_process_chdir_directory */ -export const chdir = Deno.chdir; +export const chdir = fs.chdir; /** https://nodejs.org/api/process.html#process_process_cwd */ -export const cwd = Deno.cwd; +export const cwd = fs.cwd; /** https://nodejs.org/api/process.html#process_process_nexttick_callback_args */ export const nextTick = _nextTick; |