diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/puppet/parser/ast/caseopt.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/parser/ast/caseopt.rb b/lib/puppet/parser/ast/caseopt.rb index 6b0e23c3e..f6f2457d9 100644 --- a/lib/puppet/parser/ast/caseopt.rb +++ b/lib/puppet/parser/ast/caseopt.rb @@ -61,7 +61,7 @@ class Puppet::Parser::AST # our option matched. def evaluate(hash) scope = hash[:scope] - return @statements.safeevaluate(:scope => scope.newscope) + return @statements.safeevaluate(:scope => scope) end def tree(indent = 0) |