Skip to content

Commit 054dcc0

Browse files
devversionjelbourn
authored andcommitted
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`)
1 parent 786560e commit 054dcc0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/sass_bundle.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ def _sass_bundle(ctx):
77

88
# The entry-point scss file for the bundle.
99
args.add("--entry")
10-
args.add(ctx.attr.entry_point.files)
10+
args.add(ctx.file.entry_point)
1111

1212
# The list of files that can be included in the bundle.
1313
args.add("--srcs")
14-
args.add(ctx.files.srcs, join_with =",")
14+
args.add_joined(ctx.files.srcs, join_with = ",")
1515

1616
# The generated bundle's filename.
1717
args.add("--output")

0 commit comments

Comments
 (0)