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(
column: frame.column ?? 0,
},
},
// TODO: Only in TTY
{ forceColor: true }
{ forceColor: process.stdout.isTTY }
)
}
......
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