Bazel: Make build tool chain forward compatible
Bazel 0.27 is going to flip incompatible Starlark flag: --incompatible_string_join_requires_strings, see: [1] for more details. [1] https://github.com/bazelbuild/bazel/issues/7802 Bug: Issue 10930 Change-Id: I058ba29a006e0af665830f3408e82cef4cbb1660
This commit is contained in:
@@ -59,9 +59,9 @@ npm_binary = repository_rule(
|
||||
def _run_npm_binary_str(ctx, tarball, args):
|
||||
python_bin = ctx.which("python")
|
||||
return " ".join([
|
||||
python_bin,
|
||||
ctx.path(ctx.attr._run_npm),
|
||||
ctx.path(tarball),
|
||||
str(python_bin),
|
||||
str(ctx.path(ctx.attr._run_npm)),
|
||||
str(ctx.path(tarball)),
|
||||
] + args)
|
||||
|
||||
def _bower_archive(ctx):
|
||||
|
||||
Reference in New Issue
Block a user