diff options
author | Tim Smith <tsmith@chef.io> | 2019-03-19 14:28:42 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2019-03-19 14:28:42 -0700 |
commit | 75b2274b7403d803d5074869bd974808daf400a9 (patch) | |
tree | 3b6fcff185f8203ac3b40c5c74477860bd49d0d6 /lib | |
parent | e11288fdbbcf499e8d8284b7713cdd61b2dd3e10 (diff) | |
download | chef-zero-75b2274b7403d803d5074869bd974808daf400a9.tar.gz |
Better indentation fix
Rubocop made it worse
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef_zero/endpoints/cookbook_artifacts_endpoint.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef_zero/endpoints/cookbook_artifacts_endpoint.rb b/lib/chef_zero/endpoints/cookbook_artifacts_endpoint.rb index 358637e..e2d1d2a 100644 --- a/lib/chef_zero/endpoints/cookbook_artifacts_endpoint.rb +++ b/lib/chef_zero/endpoints/cookbook_artifacts_endpoint.rb @@ -8,12 +8,12 @@ module ChefZero data = {} artifacts = begin - list_data(request) + list_data(request) rescue Exception => e if e.response_code == 404 return already_json_response(200, "{}") end - end + end artifacts.each do |cookbook_artifact| cookbook_url = build_uri(request.base_uri, request.rest_path + [cookbook_artifact]) |