From 54799d8d25ed4565177f2a752088a220220c7344 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Mon, 14 Dec 2015 16:46:12 -0800 Subject: really always return an Array --- lib/chef/node.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/chef/node.rb') diff --git a/lib/chef/node.rb b/lib/chef/node.rb index b2ef3aaf2f..0c13e5474a 100644 --- a/lib/chef/node.rb +++ b/lib/chef/node.rb @@ -1,4 +1,3 @@ -# # Author:: Adam Jacob () # Author:: Christopher Brown () # Author:: Christopher Walters () @@ -372,7 +371,7 @@ class Chef # Lazy initializer for tags attribute def tags - normal_unless[:tags] = [] + normal[:tags] = Array(normal[:tags]) normal[:tags] end -- cgit v1.2.1