build: Replace iteration over depsets with an explicit .to_list() call. (#27336)
PR Close #27336
This commit is contained in:
parent
653eb5949d
commit
4354fce2bb
|
@ -158,7 +158,7 @@ def _expected_outs(ctx):
|
||||||
|
|
||||||
if short_path.endswith(".ts") and not short_path.endswith(".d.ts"):
|
if short_path.endswith(".ts") and not short_path.endswith(".d.ts"):
|
||||||
basename = short_path[len(package_prefix):-len(".ts")]
|
basename = short_path[len(package_prefix):-len(".ts")]
|
||||||
if include_ng_files and (len(factory_basename_set) == 0 or basename in factory_basename_set):
|
if include_ng_files and (len(factory_basename_set.to_list()) == 0 or basename in factory_basename_set.to_list()):
|
||||||
devmode_js = [
|
devmode_js = [
|
||||||
".ngfactory.js",
|
".ngfactory.js",
|
||||||
".ngsummary.js",
|
".ngsummary.js",
|
||||||
|
|
|
@ -36,7 +36,7 @@ def _protractor_web_test_impl(ctx):
|
||||||
|
|
||||||
specs = [
|
specs = [
|
||||||
expand_path_into_runfiles(ctx, f.short_path)
|
expand_path_into_runfiles(ctx, f.short_path)
|
||||||
for f in files
|
for f in files.to_list()
|
||||||
]
|
]
|
||||||
|
|
||||||
configuration_sources = []
|
configuration_sources = []
|
||||||
|
|
Loading…
Reference in New Issue