diff options
author | Daniel Mizerski <duelsik@gmail.com> | 2023-12-01 07:36:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-01 15:36:11 +0900 |
commit | 687ae870d1e4e856b7ceee0a5511138459c68cb1 (patch) | |
tree | 19ce6f135a8d2edde9892dc43dd0608f744e9466 /ext/node/polyfills/process.ts | |
parent | fe90ba650d926fb006948499a96c9dabb149eed9 (diff) |
fix(ext/node): add stubbed process.report (#21373)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
Diffstat (limited to 'ext/node/polyfills/process.ts')
-rw-r--r-- | ext/node/polyfills/process.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/node/polyfills/process.ts b/ext/node/polyfills/process.ts index 860825b3e..c495a90bb 100644 --- a/ext/node/polyfills/process.ts +++ b/ext/node/polyfills/process.ts @@ -10,6 +10,7 @@ const { ops } = core; import { notImplemented, warnNotImplemented } from "ext:deno_node/_utils.ts"; import { EventEmitter } from "node:events"; import Module from "node:module"; +import { report } from "ext:deno_node/internal/process/report.ts"; import { validateString } from "ext:deno_node/internal/validators.mjs"; import { ERR_INVALID_ARG_TYPE, @@ -362,6 +363,10 @@ class Process extends EventEmitter { return arch; } + get report() { + return report; + } + get title() { return "deno"; } |