You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/xxx//gazelle
gazelle: /xxx/com_github_grafana_xk6_browser/common/execution_context.go:242:2: pattern js/injected_script.js: matched no files
The text was updated successfully, but these errors were encountered:
ninjadq
changed the title
a Bug when the go code embeded a file that located in another package
A Bug when the go code embeded a file that located in another package
Dec 6, 2023
ninjadq
pushed a commit
to ninjadq/bazel-gazelle
that referenced
this issue
Dec 6, 2023
These check will ignore a valid scenario mentioned in bazelbuild#1681
ninjadq
changed the title
A Bug when the go code embeded a file that located in another package
Bug: when the go code embedded a file that located in another package gazelle will ignore that file
Dec 6, 2023
What version of gazelle are you using?
0.34.0
What version of rules_go are you using?
0.41.0
What version of Bazel are you using?
v1.11.0
Does this issue reproduce with the latest releases of all the above?
Yes
What operating system and processor architecture are you using?
Ubuntu, AMD64
What did you do?
Run gazelle for this xk6-browser project.
An Error message like
pattern js/injected_script.js: matched no files
occured.But that file does exist common/js/injected_script. It embeds from this file common/execution_context.go
I think there is a bug when handling an embedded file located in a sub directory and that directory is another bazel package.
What did you expect to see?
gazelle run without error
What did you see instead?
error msg like
The text was updated successfully, but these errors were encountered: