Closed
Description
The Java extractor has the exclude
option:
$ codeql resolve extractor --format=betterjson --language=java-kotlin
{
"extractor_root" : "/opt/codeql/java",
"extractor_options" : {
"exclude" : {
"title" : "A glob excluding files from analysis.",
"description" : "A glob indicating what files to exclude from the analysis.\n",
"type" : "string"
},
Since it is of type string
, only one glob can be provided (unless I'm mistaken), as adding another --extractor-option exclude=...
argument will just overwrite the previous one.
It'd be good if it had type array
instead so that multiple exclude globs can be used.