diff options
Diffstat (limited to 'cli/js/runtime_main.ts')
-rw-r--r-- | cli/js/runtime_main.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/js/runtime_main.ts b/cli/js/runtime_main.ts index 25a6b0f93..0c579626b 100644 --- a/cli/js/runtime_main.ts +++ b/cli/js/runtime_main.ts @@ -96,10 +96,11 @@ export function bootstrapMainRuntime(): void { } }); - const { args, cwd, noColor, pid, repl, unstableFlag } = runtime.start(); + const { args, cwd, noColor, pid, ppid, repl, unstableFlag } = runtime.start(); Object.defineProperties(denoNs, { pid: readOnly(pid), + ppid: readOnly(ppid), noColor: readOnly(noColor), args: readOnly(Object.freeze(args)), }); |