mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 09:31:22 -05:00
fix(cli/repl): enable colors on inspected values (#7798)
This commit is contained in:
parent
63efa5f15d
commit
4c7f53b04b
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
],
|
||||
|
|
Loading…
Add table
Reference in a new issue