diff --git a/lib/fusuma/config/searcher.rb b/lib/fusuma/config/searcher.rb index b82e052..3367882 100644 --- a/lib/fusuma/config/searcher.rb +++ b/lib/fusuma/config/searcher.rb @@ -84,6 +84,7 @@ class << self def with_context(context, &block) @context = context || {} result = block.call + ensure # NOTE: ensure is called even if return in block @context = {} result end