Skip to content

Commit 7ab6a14

Browse files
committed
Use File.short_path to fix magic_test rule
This resolves the breakage from the previous commit. All minimum dependency version compatibility tests are passing!
1 parent f01e535 commit 7ab6a14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules_magic/magic/magic_test.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def _magic_test_impl(ctx):
5555
output = executable,
5656
substitutions = {
5757
"{{src_paths}}": "\n".join(
58-
["\"%s\"" % f.path for f in ctx.files.srcs],
58+
["\"%s\"" % f.short_path for f in ctx.files.srcs],
5959
),
6060
"{{test_framework_path}}": ctx.file._test_framework.short_path,
6161
},

0 commit comments

Comments
 (0)