1
1
mirror of https://github.com/orhun/git-cliff.git synced 2024-11-29 05:14:41 +03:00

chore(lint): fix formatting

Signed-off-by: Bukowa <gitbukowa@gmail.com>
This commit is contained in:
Bukowa 2024-06-15 15:15:51 +02:00
parent 1e30cdb2a7
commit 02717efa19
No known key found for this signature in database
GPG Key ID: FF3E7D973C59834A

View File

@ -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 {