diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-04-19 20:50:18 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-19 20:50:18 +1000 |
commit | 05b49a803fb460c254d00fc71c5e8958215f92c7 (patch) | |
tree | e3c0ea65d00ec18ef9507940023de3e936600a5a /runtime/js | |
parent | c497e766f1a136c674d8be2467eb103c85fe1d44 (diff) |
FUTURE: remove `Deno.customInspect` (#23453)
Diffstat (limited to 'runtime/js')
-rw-r--r-- | runtime/js/99_main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js index 4c0a9b5e7..8164e0c9a 100644 --- a/runtime/js/99_main.js +++ b/runtime/js/99_main.js @@ -667,7 +667,7 @@ ObjectDefineProperties(finalDenoNs, { new Error().stack, 'Use `Symbol.for("Deno.customInspect")` instead.', ); - return customInspect; + return internals.future ? undefined : customInspect; }, }, }); |