Skip to content

Commit

Permalink
replace cargo_registry keyword with new keyword registry (#9853)
Browse files Browse the repository at this point in the history
  • Loading branch information
honeyankit authored May 30, 2024
1 parent 46123e3 commit 8983704
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cargo/lib/dependabot/cargo/helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def self.setup_credentials_in_environment(credentials)
# (We must add these environment variables here, or 'cargo update' will not think it is
# configured properly for the private registries.)

token_env_var = "CARGO_REGISTRIES_#{cred['cargo_registry'].upcase.tr('-', '_')}_TOKEN"
token_env_var = "CARGO_REGISTRIES_#{cred['registry'].upcase.tr('-', '_')}_TOKEN"

token = "placeholder_token"
if cred["token"].nil?
Expand Down

0 comments on commit 8983704

Please sign in to comment.