From e7d394b6e9fc3ca07803d18fcf2f5d19b91e92e0 Mon Sep 17 00:00:00 2001 From: Amos Shapira Date: Mon, 1 Apr 2013 14:52:07 +1100 Subject: Remove resundant code --- lib/puppet/parser/functions/any2array.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/puppet/parser/functions/any2array.rb b/lib/puppet/parser/functions/any2array.rb index 95944e1..e71407e 100644 --- a/lib/puppet/parser/functions/any2array.rb +++ b/lib/puppet/parser/functions/any2array.rb @@ -23,8 +23,6 @@ converted to arrays of alternating keys and values. result << key << value end return result - else - return [arguments[0]] end end -- cgit v1.2.3