Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd77f1a commit e963b84Copy full SHA for e963b84
1 file changed
java/kotlin-extractor/BUILD.bazel
@@ -113,12 +113,12 @@ _resources = [
113
) + get_compatilibity_sources(v, "src/main/kotlin/utils/versions"),
114
kotlinc_opts = ":kotlinc-options-%s" % v,
115
module_name = "codeql-kotlin-extractor",
116
- resource_strip_prefix = "../%s/%s" % (
117
- repo_name(),
118
- v,
119
- ) if _for_embeddable else "%s/%s" % (
120
- package_name(),
121
+ # resource_strip_prefix is very nit-picky: the following makes it work from
+ # `codeql`, `@codeql_kotlin_embeddable` and `semmle-code`
+ resource_strip_prefix = (
+ ("../%s/" % repo_name() if repo_name() else "") +
+ ("%s/" % package_name() if package_name() else "") +
+ v
122
),
123
resources = [
124
":resources-%s" % v,
0 commit comments