Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

Commit

Permalink
flatten providers lists
Browse files Browse the repository at this point in the history
  • Loading branch information
long-stripe committed Jun 20, 2019
1 parent 18244ea commit a464f61
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scala/scala.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@ _common_attrs_for_plugin_bootstrapping = {
_collect_plus_one_deps_aspect,
_coverage_replacements_provider.aspect,
],
providers = [[JavaInfo]],
providers = [JavaInfo],
),
"plugins": attr.label_list(allow_files = [".jar"]),
"runtime_deps": attr.label_list(providers = [[JavaInfo]]),
"runtime_deps": attr.label_list(providers = [JavaInfo]),
"data": attr.label_list(allow_files = True),
"resources": attr.label_list(allow_files = True),
"resource_strip_prefix": attr.string(),
Expand Down Expand Up @@ -683,7 +683,7 @@ _scala_junit_test_attrs.update(_common_attrs)
_scala_junit_test_attrs.update(_junit_resolve_deps)

_scala_junit_test_attrs.update({
"tests_from": attr.label_list(providers = [[JavaInfo]]),
"tests_from": attr.label_list(providers = [JavaInfo]),
})

scala_junit_test = rule(
Expand Down

0 comments on commit a464f61

Please sign in to comment.