Since we are inspecting, don't wrap value
This commit is contained in:
parent
a3dd70dd50
commit
79f5264c5d
@ -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]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user