Skip to content

Commit

Permalink
style(lint): fix formatting (#702)
Browse files Browse the repository at this point in the history
Signed-off-by: Bukowa <gitbukowa@gmail.com>
  • Loading branch information
bukowa authored Jun 15, 2024
1 parent eac2195 commit b7e323f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions git-cliff-core/src/changelog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -382,14 +382,16 @@ impl<'a> Changelog<'a> {
serde_json::to_value(self.config.remote.clone())?,
);
#[cfg(feature = "github")]
let (github_commits, github_pull_requests) = if self.config.remote.github.is_set() {
let (github_commits, github_pull_requests) = if self.config.remote.github.is_set()
{
self.get_github_metadata()
.expect("Could not get github metadata")
} else {
(vec![], vec![])
};
#[cfg(feature = "gitlab")]
let (gitlab_commits, gitlab_merge_request) = if self.config.remote.gitlab.is_set() {
let (gitlab_commits, gitlab_merge_request) = if self.config.remote.gitlab.is_set()
{
self.get_gitlab_metadata()
.expect("Could not get gitlab metadata")
} else {
Expand Down

0 comments on commit b7e323f

Please sign in to comment.