js.bzl: Stop using invalid join call
Bazel 0.27 flipped incompatible Starlark flag:
--incompatible_string_join_requires_strings, see: [1] for
more details.
[1] https://github.com/bazelbuild/bazel/issues/7802
Change-Id: I7c0649a7cca6139c49f13c2f67cae857096b5cf5
diff --git a/tools/js.bzl b/tools/js.bzl
index bbae345..decb331 100644
--- a/tools/js.bzl
+++ b/tools/js.bzl
@@ -81,7 +81,7 @@
out = ctx.execute(cmd)
if out.return_code:
- fail("failed %s: %s" % (" ".join(cmd), out.stderr))
+ fail("failed %s: %s" % (cmd, out.stderr))
_bash(ctx, " && ".join([
"TMP=$(mktemp -d || mktemp -d -t bazel-tmp)",
@@ -117,7 +117,7 @@
cmd_list = ["bash", "-c", cmd]
out = ctx.execute(cmd_list)
if out.return_code:
- fail("failed %s: %s" % (" ".join(cmd_list), out.stderr))
+ fail("failed %s: %s" % (cmd_list, out.stderr))
bower_archive = repository_rule(
_bower_archive,