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 摘要。