Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Jan 26, 2024
1 parent 91120a3 commit 54e0a84
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/git/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,7 @@ pub fn change_since_last_release(package: &Package, ctx: &crate::Context) -> any
let released_dir_id = released_dir_entry.object_id();
(released_dir_id != current_dir_id).then_some(PackageChangeKind::ChangedOrNew)
} else {
log::warn!(
"Expected path '{}' to exist in the last released commit `{}` but it doesn't. Was it moved from a different directory? The generated changelog may miss some changes.",
dir, released_target
);
log::warn!("Expected path '{dir}' to exist in the last released commit `{released_target}` but it doesn't. Was it moved from a different directory? The generated changelog may miss some changes.");
Some(PackageChangeKind::ChangedOrNew)
}
}
Expand Down

0 comments on commit 54e0a84

Please sign in to comment.