Skip to content

Commit

Permalink
Merge pull request openshift#359 from smarterclayton/bug_952047_heade…
Browse files Browse the repository at this point in the history
…r_mutates_string

Merged by openshift-bot
  • Loading branch information
OpenShift Bot committed Apr 15, 2013
2 parents 493d56f + 7eb731d commit 5b945a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/rhc/highline_extensions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def rows
if w > width
rows.concat(section.textwrap_ansi(width))
else
rows << section
rows << section.dup
chars += w
end
else
Expand Down
2 changes: 1 addition & 1 deletion lib/rhc/wizard.rb
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ def upload_ssh_key(key_name)

type, content, comment = ssh_key_triple_for_default_key

if !ssh_keys.empty? && ssh_keys.any? { |k| k.name == key_name }
if ssh_keys.present? && ssh_keys.any? { |k| k.name == key_name }
clear_ssh_keys_cache
paragraph do
say "Key with the name '#{key_name}' already exists. Updating ... "
Expand Down

0 comments on commit 5b945a3

Please sign in to comment.