github / github/codeql

Parse errors, no idea how to find the files

Abierto
#12,828 5 comentarios 2 reacciones 0 asignados Ver en GitHub
question
Lenguaje dominante
CodeQL
Estrellas
10.1k
Forks
2.1k
Merge medio
2 d 15 h
PR fusionados (30 d)
141

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.