1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-01-19 04:21:06 +00:00

Minor change

This commit is contained in:
sharkdp 2019-12-15 20:20:13 +01:00 committed by David Peter
parent f94ff93953
commit 40e5befdc7

View File

@ -196,7 +196,7 @@ impl App {
.map(String::from) .map(String::from)
.or_else(|| env::var("BAT_THEME").ok()) .or_else(|| env::var("BAT_THEME").ok())
.map(|s| { .map(|s| {
if s == String::from("default") { if s == "default" {
String::from(BAT_THEME_DEFAULT) String::from(BAT_THEME_DEFAULT)
} else { } else {
s s