github / github/codeql

Kotlin language database create bug?

未关闭
#19,670 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
question
主要语言
CodeQL
星标
10.1k
派生
2.1k
平均合并
2 天 15 小时
30 天内合并 PR
141

描述

I tried to build the language database using CodeQL, but encountered an error.

And now I have read this article:
https://gh.io/troubleshooting-code-scanning/no-source-code-seen-during-build.
I didn't receive any help

Image

However, I used the configuration command when creating the database.
```
codeql database create test --language=kotlin --source-root=/k/test --no-run-unnecessary-builds --command="/k/test/gradlew build" --overwrite
```
I can build success by executing /k/test/gradlew build separately.

I hope to receive assistance. thanks

贡献指南

打开贡献指南

调研方向

Start by reviewing the reported CodeQL database create command and the linked troubleshooting article, then compare it with the separately successful /k/test/gradlew build. Reproduce the command and capture the missing error details; done means the Kotlin database is created successfully with the given source root and build command.

由索引模型根据 Issue 内容生成。

评估

技术栈
kotlin
领域
tooling
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。