Skip to content

CodeQL CLI prints warning for valid config file #16147

Open
@Kiemes

Description

@Kiemes

Downloading the latest version (2.17.0) and running just the executable without any arguments, prints warning /Users/<user>/.config/codeql/config:1: Warning: Ignoring line with no option name." when this config file is present.

paths-ignore:
  - '**/*.Test.java'

There is nothing else in the config file. Still it should be valid according to this documentation. Or does the snippet only show a partial config file? If so, this could be better visualized or mentioned on the documentation. Is there a general syntax description of the config file?

Expectation is that there is no warning for valid config files or that the documentation states how a valid config file should look like.

Metadata

Metadata

Assignees

Labels

JavaquestionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions