mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-10-28 08:08:58 +00:00
Formatting
This commit is contained in:
1 parent
b20df39f0f
commit
de07c77387
1 file changed
+2
-1
+2
-1
@@ -360,7 +360,8 @@ impl Options {
|
||||
Some("none") => OutputStyleOption::Disabled,
|
||||
_ => {
|
||||
if options
|
||||
.command_output_policies.contains(&CommandOutputPolicy::Inherit)
|
||||
.command_output_policies
|
||||
.contains(&CommandOutputPolicy::Inherit)
|
||||
|| !io::stdout().is_terminal()
|
||||
{
|
||||
OutputStyleOption::Basic
|
||||
|
||||
Reference in new issue
Block a user