🏡 index : ~doyle/gitlab-cargo-shim.git

author Jordan Doyle <jordan@doyle.la> 2024-02-27 14:06:07.0 +00:00:00
committer Jordan Doyle <jordan@doyle.la> 2024-02-27 14:06:07.0 +00:00:00
commit
671b14c0edb3eec807f6efa091f0476b4277d7b0 [patch]
tree
1dba156577c9b0c281a291f063bb0ae5ea3d5d5d
parent
dc1c88d83892abc90f66a7d10ae992a61c5fe4f6
download
671b14c0edb3eec807f6efa091f0476b4277d7b0.tar.gz

Fix hardcoded metadata.json



Diff

 src/providers/gitlab.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/providers/gitlab.rs b/src/providers/gitlab.rs
index 572f04e..f5ccc7b 100644
--- a/src/providers/gitlab.rs
+++ a/src/providers/gitlab.rs
@@ -107,7 +107,7 @@
        // 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));
        }