Skip to content

A parse error occurred. Check the syntax of the file. for correct ruby file #16757

Closed
@VitaliySerov

Description

@VitaliySerov

Hi all, I have a CodeQL connected to this repo:
https://github.com/ONLYOFFICE-QA/testing-site-onlyoffice

And in codeql logs I see the line:

2024-06-14T08:55:36.1255023Z [2024-06-14 08:55:36] [build-stdout] [2024-06-14 08:55:36] [build-stdout] �[33m WARN�[0m /home/runner/work/testing-site-onlyoffice/testing-site-onlyoffice/shared_examples/desktop_installer_download.rb:29: A parse error occurred. Check the syntax of the file. If the file is invalid, correct the error or exclude the file from analysis.

The thing is this is correct ruby code - I don't have any problems running this code

So probably something is wrong with codeql file parser

Env

CodeQL 2.17.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions