mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 21:38:41 -05:00
(rubocop) Fix Style/IfUnlessModifier
This commit is contained in:
parent
c7c8e48e2f
commit
7bafee35a7
7 changed files with 15 additions and 45 deletions
|
|
@ -17,9 +17,7 @@ class Ssh
|
|||
|
||||
def self.ssh(verbose, host_os, token, url)
|
||||
ssh_path = which('ssh')
|
||||
if !ssh_path
|
||||
raise 'Could not determine path to ssh'
|
||||
end
|
||||
raise 'Could not determine path to ssh' if !ssh_path
|
||||
os_types = {}
|
||||
os_types[host_os] = 1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue