From 0c4d288ea0f1e592fc820f1cea2b8225bba54553 Mon Sep 17 00:00:00 2001 From: David Ostrovsky Date: Thu, 30 May 2019 15:28:49 +0200 Subject: [PATCH] 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 --- tools/bzl/js.bzl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/bzl/js.bzl b/tools/bzl/js.bzl index ee96cce1a2..d518575bac 100644 --- a/tools/bzl/js.bzl +++ b/tools/bzl/js.bzl @@ -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):