fix order

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
This commit is contained in:
Sylvestre Ledru 2023-12-17 17:39:02 +01:00 committed by GitHub
parent 9167a84358
commit af2625c8ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -570,7 +570,7 @@ fn is_color_compatible_term() -> bool {
})
};
if is_term_set && colorterm.is_empty() && is_colorterm_set && term.is_empty() {
if is_term_set && term.is_empty() && is_colorterm_set && colorterm.is_empty() {
return false;
}