summaryrefslogtreecommitdiff
path: root/cli/rt
diff options
context:
space:
mode:
authorCasper Beyer <caspervonb@pm.me>2020-09-19 00:47:08 +0800
committerGitHub <noreply@github.com>2020-09-18 12:47:08 -0400
commitde95fbebc467a51577c692ff7808c09d3d26fac6 (patch)
tree06f3107a3d2121b5db434b1bee40a5d063894fd0 /cli/rt
parent8edf099485903a402d8e9df4810b9362ed1b1f15 (diff)
fix(cli/repl): format evaluation results with the object specifier (#7561)
Diffstat (limited to 'cli/rt')
-rw-r--r--cli/rt/40_repl.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/rt/40_repl.js b/cli/rt/40_repl.js
index 273687d93..650fb7fc8 100644
--- a/cli/rt/40_repl.js
+++ b/cli/rt/40_repl.js
@@ -63,7 +63,7 @@
? undefined
: result;
if (!isCloseCalled()) {
- replLog(lastEvalResult);
+ replLog("%o", lastEvalResult);
}
} else if (errInfo.isCompileError && isRecoverableError(errInfo.thrown)) {
// Recoverable compiler error