Skip to content

Commit

Permalink
fix(core): avoid the unnecessary loop when no remote feature is activ…
Browse files Browse the repository at this point in the history
…ated
  • Loading branch information
orhun committed Sep 15, 2024
1 parent 87e2c1d commit 1d8a2fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions git-cliff-core/src/changelog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,7 @@ impl<'a> Changelog<'a> {
} else {
(vec![], vec![])
};
#[cfg(feature = "remote")]
for release in self.releases.iter_mut() {
#[cfg(feature = "github")]
release.update_github_metadata(
Expand Down

0 comments on commit 1d8a2fe

Please sign in to comment.