mirror of
https://github.com/orhun/git-cliff.git
synced 2024-12-02 01:24:06 +03:00
fix(config): update the environment variable parsing settings
This commit is contained in:
parent
8975c8fb41
commit
9984abfe04
@ -61,7 +61,7 @@ impl Config {
|
||||
let mut config = config::Config::default();
|
||||
config
|
||||
.merge(config::File::with_name(&file_name))?
|
||||
.merge(config::Environment::with_prefix(env!("CARGO_PKG_NAME")))?;
|
||||
.merge(config::Environment::with_prefix("CLIFF").separator("_"))?;
|
||||
Ok(config.try_into()?)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user