github / github/codeql

Parse errors, no idea how to find the files

オープン
#12,828 コメント 5 件 リアクション 2 件 担当者 0 名 GitHub で見る
question
主要言語
CodeQL
スター
10.1k
フォーク
2.1k
平均マージ
2日 15時間
マージ済み PR(30日)
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 を短くまとめたダイジェスト。