github / github/codeql

Parse errors, no idea how to find the files

未關閉
#12,828 5 則留言 2 個 reaction 已指派 0 人 在 GitHub 檢視
question
主要語言
CodeQL
星號
10.1k
分支
2.1k
平均合併
2 天 15 小時
30 天內合併 PR
141

描述

I got the following issue during one of the scans:

Could not process some files due to syntax errors
[View workflow run](https://github.com/provectus/kafka-ui/actions/runs/4698319075)
A parse error occurred: Comments are not legal in JSON.. Check the syntax of the file. If the file is invalid, correct the error or [exclude](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/customizing-code-scanning) the file from analysis.

CodeQL also found 2 other warnings like this. See the workflow log for details.

The thing is, it's impossible to find the problematic files within the [workflow log](https://github.com/provectus/kafka-ui/actions/runs/4698319075/jobs/8330455197):
| Diagnostic | Summary |
+---------------------------------------------------+------------------------+
| Extraction errors | 13 results (13 errors) |
| Could not process some files due to syntax errors | 3 results (3 warnings) |
| Successfully extracted files | 548 results |

That's kinda it, I couldn't find the mentioned files there.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。