Skip to content

Commit d5fbfaf

Browse files
committed
set the default type to ssh
1 parent cd21e57 commit d5fbfaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/post/multi/gather/electerm.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def print_and_save(all_result)
6363

6464
row = []
6565
row << value['title'] || ''
66-
row << value['type'] || 'ssh'
66+
row << value.fetch('type', 'ssh')
6767
row << value['host'] || ''
6868
row << value['port'] || ''
6969
row << value['username'] || ''

0 commit comments

Comments
 (0)