(rubocop) Fix Style/NegatedIf

This commit is contained in:
Tim Sharpe 2019-02-03 11:19:13 +11:00
parent 5ad213075b
commit d25732b950

View file

@ -17,7 +17,7 @@ class Ssh
def self.ssh(verbose, host_os, token, url) def self.ssh(verbose, host_os, token, url)
ssh_path = which('ssh') ssh_path = which('ssh')
raise 'Could not determine path to ssh' if !ssh_path raise 'Could not determine path to ssh' unless ssh_path
os_types = {} os_types = {}
os_types[host_os] = 1 os_types[host_os] = 1