[Bazel] Fix gen_reflections for flatbuffers_ts_library (#7981)

If you used flatbuffers_ts_library with gen_reflections = True then it
attempted to use the flat-file compiler rather than flatc itself.

Co-authored-by: Derek Bailey <derekbailey@google.com>
This commit is contained in:
James Kuszmaul
2023-05-31 11:07:37 -07:00
committed by GitHub
parent 85088a196d
commit 204473cdb5
2 changed files with 6 additions and 1 deletions

View File

@@ -10,5 +10,6 @@ genrule(
flatbuffer_ts_library(
name = "reflection_ts_fbs",
srcs = [":reflection.fbs"],
gen_reflections = True,
visibility = ["//visibility:public"],
)