Fixed bug with single chef-solo cookbook location

This commit is contained in:
Julio Arias 2010-03-25 17:48:40 -06:00 committed by Mitchell Hashimoto
parent a7d55db213
commit 2e39ab53e7
1 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ solo
# We're lucky that ruby's string and array syntax for strings is the # We're lucky that ruby's string and array syntax for strings is the
# same as JSON, so we can just convert to JSON here and use that # same as JSON, so we can just convert to JSON here and use that
result = result.to_s if result.length == 1 result = result[0].to_s if result.length == 1
result.to_json result.to_json
end end
end end