Since we are inspecting, don't wrap value

This commit is contained in:
Chris Roberts 2022-06-13 16:07:28 -07:00
parent a3dd70dd50
commit 79f5264c5d

View File

@ -40,7 +40,7 @@ module VagrantPlugins
def get(key)
if !@registry.key?(key)
raise KeyError,
"Unknown cache key `#{key.inspect}'"
"Unknown cache key #{key.inspect}"
end
@registry[key]
end
@ -60,7 +60,7 @@ module VagrantPlugins
def use(key)
if !@registry.key?(key)
raise KeyError,
"Unknown cache key `#{key.inspect}'"
"Unknown cache key #{key.inspect}"
end
yield @registry[key]