Skip to content

Commit ed24668

Browse files
committed
Adjust the inclusion/exclusion for cds
- Include .cds files - Exclude files in node_modules directories
1 parent 1ef0be1 commit ed24668

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extractors/cds/tools/index-files.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ if [ -z "${CODEQL_EXTRACTOR_JAVASCRIPT_ROOT:-}" ]; then
6969
fi
7070

7171
# Enable extraction of the cds.json files only
72-
export LGTM_INDEX_FILTERS=$'exclude:**/*.*\ninclude:**/*cds.json'
72+
export LGTM_INDEX_FILTERS=$'exclude:**/*.*\ninclude:**/*.cds.json\ninclude:**/*.cds\nexclude:**/node_modules/**/*.*'
7373
export LGTM_INDEX_TYPESCRIPT="NONE"
7474
# Configure to copy over the CDS files as well, by pretending they are JSON
7575
export LGTM_INDEX_FILETYPES=".cds:JSON"

0 commit comments

Comments
 (0)