(maint) Remove warning about missing configuration file

Previously the CLI would emit a warning about missing configuration
file, but a configuration file does not appear to be a requirement, at
least based on the documentation and the fact that everything can be
specified directly on the command line.

This commit simply removes the warning.

Users will no longer get a warning when doing things like `floaty
--version`, `floaty help`, and any other subcommand.
This commit is contained in:
Nate Wolfe 2020-08-21 14:38:04 -07:00
parent b9bb08e3c0
commit 04c73a970d
No known key found for this signature in database
GPG key ID: B2DE44E5E14C0F96

View file

@ -8,7 +8,7 @@ class Conf
begin
conf = YAML.load_file("#{Dir.home}/.vmfloaty.yml")
rescue StandardError
FloatyLogger.warn "WARNING: There was no config file at #{Dir.home}/.vmfloaty.yml"
# ignore
end
conf
end