Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
srenatus committed Jun 28, 2016
1 parent b001f58 commit 25b4589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/train/transports/ssh_connection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def session(retry_options = {})
# @api private
def to_s
options_to_print = @options.clone
options_to_print[:password] = "<hidden>" if options_to_print.has_key?(:password)
options_to_print[:password] = '<hidden>' if options_to_print.key?(:password)
"#{@username}@#{@hostname}<#{options_to_print.inspect}>"
end

Expand Down

0 comments on commit 25b4589

Please sign in to comment.