(rubocop) Fix Style/RescueStandardError

This commit is contained in:
Tim Sharpe 2019-02-03 11:16:25 +11:00
parent 7bafee35a7
commit 12c1795046
2 changed files with 4 additions and 4 deletions

View file

@ -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