summaryrefslogtreecommitdiff
path: root/runtime/js
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/js')
-rw-r--r--runtime/js/99_main.js2
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;
},
},
});