diff options
Diffstat (limited to 'cli/rt/11_streams.js')
-rw-r--r-- | cli/rt/11_streams.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cli/rt/11_streams.js b/cli/rt/11_streams.js index 7f8af19e2..630878e74 100644 --- a/cli/rt/11_streams.js +++ b/cli/rt/11_streams.js @@ -11,7 +11,8 @@ const { cloneValue, setFunctionName } = window.__bootstrap.webUtil; const { assert, AssertionError } = window.__bootstrap.util; - const { customInspect, inspect } = window.__bootstrap.console; + + const customInspect = Symbol.for("Deno.customInspect"); const sym = { abortAlgorithm: Symbol("abortAlgorithm"), @@ -636,9 +637,7 @@ } [customInspect]() { - return `${this.constructor.name} {\n readable: ${ - inspect(this.readable) - }\n writable: ${inspect(this.writable)}\n}`; + return this.constructor.name; } } |