We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dc93735 + 4e11a46 commit eb7d633Copy full SHA for eb7d633
lib/code_climate/test_reporter.rb
@@ -20,8 +20,8 @@ def self.environment_variable_set?
20
return @environment_variable_set if defined?(@environment_variable_set)
21
22
@environment_variable_set = !!ENV["CODECLIMATE_REPO_TOKEN"]
23
- unless @environment_variable_set
24
- logger.info("Not reporting to Code Climate because ENV['CODECLIMATE_REPO_TOKEN'] is not set.")
+ if @environment_variable_set
+ logger.info("Reporting coverage data to Code Climate.")
25
end
26
27
@environment_variable_set
0 commit comments