From 05b49a803fb460c254d00fc71c5e8958215f92c7 Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Fri, 19 Apr 2024 20:50:18 +1000 Subject: FUTURE: remove `Deno.customInspect` (#23453) --- runtime/js/99_main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/js') 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; }, }, }); -- cgit v1.2.3