Skip to content

Commit

Permalink
[rubygems/rubygems] Remove trailing if
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-niknam authored and hsbt committed Aug 31, 2021
1 parent 3adc141 commit e3c319a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rubygems/printable_uri.rb
Expand Up @@ -49,7 +49,7 @@ def redact_credential
elsif oauth_basic?
@uri.user = 'REDACTED'
elsif password?
@uri.password = 'REDACTED' if password?
@uri.password = 'REDACTED'
end

@credential_redacted = true
Expand Down

0 comments on commit e3c319a

Please sign in to comment.