Skip to content

Commit

Permalink
Use the proper allow_single_file instead of the obsolete dual-paramet…
Browse files Browse the repository at this point in the history
…er option. Fixes bazelbuild#10.
  • Loading branch information
jongerrish authored and cgruber committed Jun 21, 2019
1 parent 2470b07 commit 9c84c47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions third_party/jarjar.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ def _jar_jar_impl(ctx):
jar_jar = rule(
implementation = _jar_jar_impl,
attrs = {
"input_jar": attr.label(allow_files = True, single_file = True),
"rules": attr.label(allow_files = True, single_file = True),
"input_jar": attr.label(allow_single_file = True),
"rules": attr.label(allow_single_file = True),
"jarjar_runner": attr.label(
executable = True,
cfg = "host",
Expand Down

0 comments on commit 9c84c47

Please sign in to comment.