lib/cc/cli/prepare.rb in codeclimate-0.85.26 vs lib/cc/cli/prepare.rb in codeclimate-0.85.27

- old
+ new

@@ -63,10 +63,10 @@ resp = http.get(uri) if resp.code == "200" write_file(target_path, resp.body) say("Wrote #{url} to #{target_path}") else - raise FetchError, "Failed fetching #{url}: code=#{resp.code} body=#{resp.body}" + raise FetchError, "Failed fetching #{url}: code=#{resp.code}" end end def write_file(target_path, content) FileUtils.mkdir_p(Pathname.new(target_path).parent.to_s)