mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-27 05:48:41 -05:00
(rubocop) Fix Style/RedundantReturn
This commit is contained in:
parent
0d95977db3
commit
42014ae39f
2 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue