豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Commit 0ef299c

Browse files
committed
build: use execpath for build rule generating protobufjs file
1 parent 4144181 commit 0ef299c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/generate_ts_proto_module.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def generate_ts_proto_module(name, protofile, visibility = ["//visibility:public
3232
"static-module",
3333
"-w",
3434
"commonjs",
35-
"$(rootpath %s)" % protofile,
35+
"$(execpath %s)" % protofile,
3636
],
3737
stdout = "generated_" + js_file,
3838
)

0 commit comments

Comments
 (0)