Skip to content

Commit

Permalink
Merge branch 'main' into hf/introduce-nix
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun authored Oct 16, 2024
2 parents 1d61e42 + b604883 commit 84d16c0
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion git-cliff-core/src/commit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ pub struct Commit<'a> {
pub bitbucket: crate::contributor::RemoteContributor,
}

impl<'a> From<String> for Commit<'a> {
impl From<String> for Commit<'_> {
fn from(message: String) -> Self {
if let Some(captures) = SHA1_REGEX.captures(&message) {
if let (Some(id), Some(message)) = (
Expand Down
4 changes: 2 additions & 2 deletions git-cliff-core/src/release.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ crate::update_release_metadata!(gitea, update_gitea_metadata);
#[cfg(feature = "bitbucket")]
crate::update_release_metadata!(bitbucket, update_bitbucket_metadata);

impl<'a> Release<'a> {
impl Release<'_> {
/// Calculates the next version based on the commits.
///
/// It uses the default bump version configuration to calculate the next
Expand Down Expand Up @@ -171,7 +171,7 @@ pub struct Releases<'a> {
pub releases: &'a Vec<Release<'a>>,
}

impl<'a> Releases<'a> {
impl Releases<'_> {
/// Returns the list of releases as JSON.
pub fn as_json(&self) -> Result<String> {
Ok(serde_json::to_string(self.releases)?)
Expand Down
48 changes: 24 additions & 24 deletions npm/git-cliff/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1404,44 +1404,44 @@ __metadata:
languageName: node
linkType: hard

"git-cliff-darwin-arm64@npm:2.6.0":
version: 2.6.0
resolution: "git-cliff-darwin-arm64@npm:2.6.0"
"git-cliff-darwin-arm64@npm:2.6.1":
version: 2.6.1
resolution: "git-cliff-darwin-arm64@npm:2.6.1"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard

"git-cliff-darwin-x64@npm:2.6.0":
version: 2.6.0
resolution: "git-cliff-darwin-x64@npm:2.6.0"
"git-cliff-darwin-x64@npm:2.6.1":
version: 2.6.1
resolution: "git-cliff-darwin-x64@npm:2.6.1"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard

"git-cliff-linux-arm64@npm:2.6.0":
version: 2.6.0
resolution: "git-cliff-linux-arm64@npm:2.6.0"
"git-cliff-linux-arm64@npm:2.6.1":
version: 2.6.1
resolution: "git-cliff-linux-arm64@npm:2.6.1"
conditions: os=linux & cpu=arm64
languageName: node
linkType: hard

"git-cliff-linux-x64@npm:2.6.0":
version: 2.6.0
resolution: "git-cliff-linux-x64@npm:2.6.0"
"git-cliff-linux-x64@npm:2.6.1":
version: 2.6.1
resolution: "git-cliff-linux-x64@npm:2.6.1"
conditions: os=linux & cpu=x64
languageName: node
linkType: hard

"git-cliff-windows-arm64@npm:2.6.0":
version: 2.6.0
resolution: "git-cliff-windows-arm64@npm:2.6.0"
"git-cliff-windows-arm64@npm:2.6.1":
version: 2.6.1
resolution: "git-cliff-windows-arm64@npm:2.6.1"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard

"git-cliff-windows-x64@npm:2.6.0":
version: 2.6.0
resolution: "git-cliff-windows-x64@npm:2.6.0"
"git-cliff-windows-x64@npm:2.6.1":
version: 2.6.1
resolution: "git-cliff-windows-x64@npm:2.6.1"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
Expand All @@ -1457,12 +1457,12 @@ __metadata:
"@typescript-eslint/parser": "npm:^8.6.0"
eslint: "npm:^9.11.0"
execa: "npm:^8.0.1"
git-cliff-darwin-arm64: "npm:2.6.0"
git-cliff-darwin-x64: "npm:2.6.0"
git-cliff-linux-arm64: "npm:2.6.0"
git-cliff-linux-x64: "npm:2.6.0"
git-cliff-windows-arm64: "npm:2.6.0"
git-cliff-windows-x64: "npm:2.6.0"
git-cliff-darwin-arm64: "npm:2.6.1"
git-cliff-darwin-x64: "npm:2.6.1"
git-cliff-linux-arm64: "npm:2.6.1"
git-cliff-linux-x64: "npm:2.6.1"
git-cliff-windows-arm64: "npm:2.6.1"
git-cliff-windows-x64: "npm:2.6.1"
tsup: "npm:^8.3.0"
typescript: "npm:^5.6.2"
typescript-eslint: "npm:^8.6.0"
Expand Down

0 comments on commit 84d16c0

Please sign in to comment.