github / github/codeql

Parse errors, no idea how to find the files

Ouverte
#12,828 5 commentaires 2 réactions 0 personnes assignées Voir sur GitHub
question
Langage dominant
CodeQL
Étoiles
10.1k
Forks
2.1k
Merge moyen
2 j 15 h
PR mergées (30 j)
141

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.