Skip to content

Commit

Permalink
fixup! chore: improve no-declarations error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jbedard committed Oct 31, 2022
1 parent 656b3cf commit ce1b0a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ts/private/ts_validate_options.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ Generally, targets which produce no declarations aren't useful as dependencies t
This likely means you forgot to set 'declaration = true' in the compilerOptions for that target.
To disable this check, set the validate attribute to False:
npx @bazel/buildozer 'set validate False' {0}
""".format(d))
npx @bazel/buildozer 'set validate False' {1}
""".format(d.label, ctx.attr.target))

# External validation
arguments = ctx.actions.args()
Expand Down

0 comments on commit ce1b0a0

Please sign in to comment.