Skip to content

Commit

Permalink
Fix hardcoded metadata.json
Browse files Browse the repository at this point in the history
  • Loading branch information
w4 committed Feb 27, 2024
1 parent dc1c88d commit 671b14c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/gitlab.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ impl Gitlab {
// any crate releases must contain a metadata.json
if !package_files
.iter()
.any(|package_file| package_file.file_name == "metadata.json")
.any(|package_file| package_file.file_name == self.metadata_format.filename())
{
return Ok(Yoke::attach_to_cart(Vec::new(), |_| None));
}
Expand Down

0 comments on commit 671b14c

Please sign in to comment.