diff options
Diffstat (limited to 'knife/lib/chef/knife/supermarket_download.rb')
-rw-r--r-- | knife/lib/chef/knife/supermarket_download.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/knife/lib/chef/knife/supermarket_download.rb b/knife/lib/chef/knife/supermarket_download.rb index 5acd733b78..88948f131d 100644 --- a/knife/lib/chef/knife/supermarket_download.rb +++ b/knife/lib/chef/knife/supermarket_download.rb @@ -75,9 +75,7 @@ class Chef end def current_cookbook_data - @current_cookbook_data ||= begin - noauth_rest.get "#{cookbooks_api_url}/#{@name_args[0]}" - end + @current_cookbook_data ||= noauth_rest.get "#{cookbooks_api_url}/#{@name_args[0]}" end def current_cookbook_deprecated? |