lib/vagrant-conoha/version_checker.rb in vagrant-conoha-0.1.6 vs lib/vagrant-conoha/version_checker.rb in vagrant-conoha-0.1.7
- old
+ new
@@ -63,10 +63,10 @@
end
end
# rubocop:disable Lint/HandleExceptions
def self.check_version
- timeout(3, Errors::Timeout) do
+ Timeout.timeout(3, Errors::Timeout) do
VersionChecker.instance.check
end
rescue
# Do nothing whatever the failure cause
end