mirror of
https://github.com/alacritty/alacritty.git
synced 2026-12-01 17:33:40 +03:00
Cleanup config path logging without any files
Co-authored-by: Christian Duerr <contact@christianduerr.com>
This commit is contained in:
1 parent
78e04445c7
commit
e2a853b1a7
1 file changed
+4
@@ -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()));
|
||||
|
||||
Reference in new issue
Block a user