Skip to content

Commit

Permalink
Fix check env variable with present?
Browse files Browse the repository at this point in the history
  • Loading branch information
pioz committed Aug 28, 2024
1 parent 15b0f02 commit e8d1b7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
SimpleCov.start do
add_filter 'lib/chess/gnuchess.rb'
end
if ENV['CODECOV_TOKEN'].present?
if ENV['CODECOV_TOKEN']
require 'codecov'
SimpleCov.formatter = SimpleCov::Formatter::Codecov
end
Expand Down

0 comments on commit e8d1b7c

Please sign in to comment.