Skip to content
This repository was archived by the owner on Feb 19, 2020. It is now read-only.

Commit 51d7cbd

Browse files
committed
Revert VCR disable toggle
1 parent 2acd8c3 commit 51d7cbd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/codacy/client.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ def self.post_results(parsed_result)
2323
false
2424
else
2525
logger.info('Posting ' + result.to_s.length.to_s + ' bytes to ' + url)
26-
VCR.turn_off! if Object.const_defined?('VCR') && VCR.respond_to?(:turn_off!)
2726
response = send_request(url, result, project_token)
28-
VCR.turn_on! if Object.const_defined?('VCR') && VCR.respond_to?(:turn_on!)
2927

3028
logger.info(response)
3129
response.to_s.include? 'success'

0 commit comments

Comments
 (0)