Skip to content

Commit cbd0706

Browse files
authored
fix: update mocha.bzl to use rootpath for configFile (aspect-build#2405)
1 parent 0ed387a commit cbd0706

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/macro/mocha.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def mocha_test(name, srcs, args = [], data = [], env = {}, **kwargs):
99
"--reporter",
1010
"mocha-multi-reporters",
1111
"--reporter-options",
12-
"configFile=$(location //examples/macro:mocha_reporters.json)",
12+
"configFile=$(rootpath //examples/macro:mocha_reporters.json)",
1313
native.package_name() + "/*test.js",
1414
] + args,
1515
data = data + srcs + [

0 commit comments

Comments
 (0)