Skip to content

Commit

Permalink
Fix filename for fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingAnarchy committed Feb 2, 2024
1 parent b51216b commit 61f72ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cargo/lib/dependabot/cargo/file_fetcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ def cargo_config
@cargo_config = fetch_support_file(".cargo/config.toml")

@cargo_config ||= fetch_support_file(".cargo/config")
&.tap { |f| f.name = ".cargo/config.toml" }
&.tap { |f| f.name = ".cargo/config.toml" }
end

def rust_toolchain
Expand Down
2 changes: 1 addition & 1 deletion cargo/spec/fixtures/github/contents_cargo_dir.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[
{
"name": "config",
"name": "config.toml",
"path": ".cargo/config.toml",
"sha": "f5b2f124bcc904afbb03e2e72cbaef7152d1077e",
"size": 942,
Expand Down

0 comments on commit 61f72ae

Please sign in to comment.