File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,7 @@ def mocha_test_impl(ctx):
9696 return struct (
9797 runfiles = ctx .runfiles (
9898 files = runfiles ,
99+ collect_data = True ,
99100 ),
100101 )
101102
@@ -110,6 +111,7 @@ mocha_test = rule(
110111 ),
111112 "data" : attr .label_list (
112113 allow_files = True ,
114+ cfg = "data" ,
113115 ),
114116 "deps" : attr .label_list (
115117 providers = ["node_library" ],
Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ def node_binary_impl(ctx):
7676 return struct (
7777 runfiles = ctx .runfiles (
7878 files = runfiles ,
79+ collect_data = True ,
7980 ),
8081 )
8182
@@ -89,6 +90,7 @@ node_binary = rule(
8990 ),
9091 "data" : attr .label_list (
9192 allow_files = True ,
93+ cfg = "data" ,
9294 ),
9395 "deps" : attr .label_list (
9496 providers = ["node_library" ],
You can’t perform that action at this time.
0 commit comments