Skip to content
Myr

.contains(…)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Peter · committed by David Peter · parent 98d262c · Browse files · 1 file+1 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−3 removed

  • other:+1 added−3 removed

1 file+1 added−3 removed

modified:src/options.rs+1 added-3 removed
358 unmodified lines
359 Some("color") => OutputStyleOption::Color,360 Some("none") => OutputStyleOption::Disabled,361 _ => {362 if options363 .command_output_policies364 .iter()365 .any(|policy| *policy == CommandOutputPolicy::Inherit)363 .command_output_policies.contains(&CommandOutputPolicy::Inherit)364 || !io::stdout().is_terminal()365 {366 OutputStyleOption::Basic367 } else if env::var_os("TERM")
163 unmodified lines