feat: fix tests
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2024-04-08 22:48:30 +02:00
parent 490130126b
commit 12063f7c23
2 changed files with 38 additions and 44 deletions

View File

@@ -3,7 +3,7 @@ use chrono::{DateTime, NaiveDate, Utc};
use git_cliff_core::{
changelog::Changelog,
commit::Commit,
config::{ChangelogConfig, CommitParser, Config, GitConfig},
config::{Bump, ChangelogConfig, CommitParser, Config, GitConfig, Remote, RemoteConfig},
release::Release,
};
use regex::Regex;
@@ -139,8 +139,8 @@ impl ChangeLog<'_> {
let config = Config {
changelog: default_changelog_config(None, self.release_link.as_deref()),
git: default_git_config(),
remote: None,
bump: None,
remote: RemoteConfig::default(),
bump: Bump::default(),
};
config
@@ -150,8 +150,8 @@ impl ChangeLog<'_> {
let config = Config {
changelog: default_changelog_config(header, self.release_link.as_deref()),
git: default_git_config(),
remote: None,
bump: None,
remote: RemoteConfig::default(),
bump: Bump::default(),
};
config