Skip to content

Replace deprecated javascript-lgtm.qls with modern CodeQL query suite #3

@jacopotediosi

Description

@jacopotediosi

Webql still uses javascript-lgtm.qls, which no longer exists in modern CodeQL releases.

This causes the following error:

Error analyzing CodeQL database: 
Command: codeql database analyze --quiet my_analysis javascript-lgtm.qls --format=sarif-latest --output=my_analysis.sarif
Exit code: 2
Standard output:
Standard error: A fatal error occurred: javascript-lgtm.qls is not a .ql file, .qls file, a directory, or a query pack specification.

I think a possible fix could be the following:

query_suite="codeql/javascript-queries"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions