Skip to content

Commit

Permalink
js.bzl: Stop using invalid join call
Browse files Browse the repository at this point in the history
Bazel 0.27 flipped incompatible Starlark flag:
--incompatible_string_join_requires_strings, see: [1] for
more details.

[1] bazelbuild/bazel#7802

Change-Id: I7c0649a7cca6139c49f13c2f67cae857096b5cf5
  • Loading branch information
dpursehouse committed Jul 4, 2019
1 parent 62b278c commit a3486fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/js.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def _bower_archive(ctx):

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)",
Expand Down Expand Up @@ -117,7 +117,7 @@ def _bash(ctx, cmd):
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,
Expand Down

0 comments on commit a3486fb

Please sign in to comment.