Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
borkaehw committed Jan 31, 2020
1 parent 4686086 commit 2a70763
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scala/private/phases/phase_coverage.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ def _phase_coverage_default(ctx, p, _args = struct()):

def _phase_coverage(ctx, p, srcjars):
if len(ctx.files.srcs) + len(srcjars.to_list()) == 0 or \
not ctx.configuration.coverage_enabled or \
not hasattr(ctx.attr, "_code_coverage_instrumentation_worker"):
not ctx.configuration.coverage_enabled or \
not hasattr(ctx.attr, "_code_coverage_instrumentation_worker"):
return struct(
replacements = {},
external_providers = {},
Expand Down

0 comments on commit 2a70763

Please sign in to comment.