Skip to content

Commit

Permalink
fix(config): allow using environment variables without config file pr…
Browse files Browse the repository at this point in the history
…esent
  • Loading branch information
orhun committed Aug 6, 2024
1 parent 4b33e7e commit 2b0364a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-cliff-core/src/embed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ impl EmbeddedConfig {
///
/// [`Config`]: Config
pub fn parse() -> Result<Config> {
Ok(toml::from_str(&Self::get_config()?)?)
Config::parse_from_str(&Self::get_config()?)
}
}

Expand Down

0 comments on commit 2b0364a

Please sign in to comment.