mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-27 05:48:41 -05:00
(rubocop) Fix Style/RescueStandardError
This commit is contained in:
parent
7bafee35a7
commit
12c1795046
2 changed files with 4 additions and 4 deletions
|
|
@ -8,7 +8,7 @@ class Conf
|
|||
conf = {}
|
||||
begin
|
||||
conf = YAML.load_file("#{Dir.home}/.vmfloaty.yml")
|
||||
rescue
|
||||
rescue StandardError
|
||||
STDERR.puts "WARNING: There was no config file at #{Dir.home}/.vmfloaty.yml"
|
||||
end
|
||||
conf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue