mirror of
https://github.com/moghtech/komodo.git
synced 2026-05-02 18:17:28 -05:00
no need to panic if empty config paths
This commit is contained in:
@@ -33,11 +33,6 @@ pub fn cli_config() -> &'static CliConfig {
|
||||
.config_path
|
||||
.clone()
|
||||
.unwrap_or(env.komodo_cli_config_paths);
|
||||
if config_paths.is_empty() {
|
||||
panic!(
|
||||
"No --config-path (KOMODO_CLI_CONFIG_PATHS) have been set."
|
||||
)
|
||||
}
|
||||
let debug = args
|
||||
.log_level
|
||||
.map(|level| {
|
||||
|
||||
Reference in New Issue
Block a user