diff options
author | Casper Beyer <caspervonb@pm.me> | 2020-10-02 21:51:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-02 15:51:08 +0200 |
commit | 4c7f53b04bc631525a4512576fc0d7dca05dec09 (patch) | |
tree | 7d4f2954dcb173577d76f294b360836f190afa8a | |
parent | 63efa5f15dccf48d7a27f7d55344f1de63f786af (diff) |
fix(cli/repl): enable colors on inspected values (#7798)
-rw-r--r-- | cli/repl.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/repl.rs b/cli/repl.rs index 1c723ec59..5daa12261 100644 --- a/cli/repl.rs +++ b/cli/repl.rs @@ -207,7 +207,7 @@ pub async fn run( "Runtime.callFunctionOn".to_string(), Some(json!({ "executionContextId": context_id, - "functionDeclaration": "function (object) { return Deno[Deno.internal].inspectArgs(['%o', object]); }", + "functionDeclaration": "function (object) { return Deno[Deno.internal].inspectArgs(['%o', object], { colors: true}); }", "arguments": [ evaluate_result, ], |