(rubocop) Fix Style/RedundantReturn

This commit is contained in:
Tim Sharpe 2019-02-03 10:56:46 +11:00
parent 0d95977db3
commit 42014ae39f
2 changed files with 5 additions and 5 deletions

View file

@ -12,7 +12,7 @@ class Ssh
return exe if File.executable?(exe) && !File.directory?(exe)
}
end
return nil
nil
end
def self.ssh(verbose, host_os, token, url)
@ -40,6 +40,6 @@ class Ssh
else
raise "Could not get vm from vmpooler:\n #{response}"
end
return
nil
end
end