From: Amos Shapira Date: Mon, 1 Apr 2013 03:52:07 +0000 (+1100) Subject: Remove resundant code X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=e7d394b6e9fc3ca07803d18fcf2f5d19b91e92e0;p=puppet-stdlib.git Remove resundant code --- 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