github / github/codeql

Kotlin language database create bug?

Đang mở
#19,670 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
question
Ngôn ngữ chính
CodeQL
Star
10.1k
Fork
2.1k
Merge trung bình
2 ngày 15 giờ
Pull request đã merge (30 ngày)
141

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
kotlin
Lĩnh vực
tooling
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.