Skip to content

Commit

Permalink
add default case, if no hash is given
Browse files Browse the repository at this point in the history
  • Loading branch information
saz committed Feb 24, 2014
1 parent afc32e5 commit 42030ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/ssh_config.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@
<%- v.each do |key, value| -%>
<%= key %> <%= value %>
<%- end -%>
<%- else -%>
<%= k %> <%= v %>
<%- end -%>
<%- end -%>
2 changes: 2 additions & 0 deletions templates/sshd_config.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@
<%- v.each do |key, value| -%>
<%= key %> <%= value %>
<%- end -%>
<%- else -%>
<%= k %> <%= v %>
<%- end -%>
<%- end -%>

0 comments on commit 42030ee

Please sign in to comment.