From 054dcc0279330a66bcda3551d83b1e3a8d73b132 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Mon, 20 May 2019 23:22:21 +0200 Subject: [PATCH] build: no longer use deprecated api in sass_bundle rule (#16064) Switches away from deprecated Bazel API that now needs to be enabled explcitly within Bazel 0.24.0 (`incompatible_disallow_old_style_args_add`) --- tools/sass_bundle.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/sass_bundle.bzl b/tools/sass_bundle.bzl index 07de4bcd86e..d9607259d32 100644 --- a/tools/sass_bundle.bzl +++ b/tools/sass_bundle.bzl @@ -7,11 +7,11 @@ def _sass_bundle(ctx): # The entry-point scss file for the bundle. args.add("--entry") - args.add(ctx.attr.entry_point.files) + args.add(ctx.file.entry_point) # The list of files that can be included in the bundle. args.add("--srcs") - args.add(ctx.files.srcs, join_with =",") + args.add_joined(ctx.files.srcs, join_with = ",") # The generated bundle's filename. args.add("--output")