diff options
author | Nathan Lilienthal <nathan@nixpulvis.com> | 2021-04-30 17:59:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-30 21:59:13 +0000 |
commit | e2a853b1a787e63b401bcb518cc0edebcec4e958 (patch) | |
tree | c410a46dd0aabdd6addc7096c127acac363d7c7a | |
parent | 78e04445c755c1276af037dda4318b3a61af3f37 (diff) | |
download | alacritty-e2a853b1a787e63b401bcb518cc0edebcec4e958.tar.gz alacritty-e2a853b1a787e63b401bcb518cc0edebcec4e958.zip |
Cleanup config path logging without any files
Co-authored-by: Christian Duerr <contact@christianduerr.com>
-rw-r--r-- | alacritty/src/main.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/alacritty/src/main.rs b/alacritty/src/main.rs index c68f3cfb..85a4fc5e 100644 --- a/alacritty/src/main.rs +++ b/alacritty/src/main.rs @@ -235,6 +235,10 @@ fn run( } fn log_config_path(config: &Config) { + if config.ui_config.config_paths.is_empty() { + return; + } + let mut msg = String::from("Configuration files loaded from:"); for path in &config.ui_config.config_paths { msg.push_str(&format!("\n {:?}", path.display())); |