0
0
Fork 0
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:
Casper Beyer 2020-10-02 21:51:08 +08:00 committed by GitHub
parent 63efa5f15d
commit 4c7f53b04b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,
],