Skip to content

Commit

Permalink
print mode
Browse files Browse the repository at this point in the history
  • Loading branch information
anmarchenko committed Feb 27, 2024
1 parent 2deae38 commit 1f57b17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/datadog/ci/itr/coverage/collector.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def initialize(mode: :files, enabled: true)

def setup
if @enabled
p "RUNNING WITH CODE COVERAGE ENABLED"
p "RUNNING WITH CODE COVERAGE ENABLED AND MODE #{@mode}"
else
p "RUNNING WITH CODE COVERAGE DISABLED"
end
Expand Down
2 changes: 1 addition & 1 deletion lib/datadog/ci/test_visibility/recorder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def initialize(
@global_context = Context::Global.new
@codeowners = codeowners

@coverage_collector = Itr::Coverage::Collector.new(mode: :lines, enabled: true)
@coverage_collector = Itr::Coverage::Collector.new(mode: :files, enabled: true)
begin
@coverage_collector.setup
rescue => e
Expand Down

0 comments on commit 1f57b17

Please sign in to comment.