Unverified Commit 1731f12a authored by Jiachi Liu's avatar Jiachi Liu Committed by GitHub

only force stack frame color in tty (#71860)

parent 4bc9ecee
...@@ -65,8 +65,7 @@ export function getOriginalCodeFrame( ...@@ -65,8 +65,7 @@ export function getOriginalCodeFrame(
column: frame.column ?? 0, column: frame.column ?? 0,
}, },
}, },
// TODO: Only in TTY { forceColor: process.stdout.isTTY }
{ forceColor: true }
) )
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment