Skip to content

Commit db37677

Browse files
committed
Index the .cds files themselves
1 parent d6b85d6 commit db37677

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/code_scanning.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ on:
1212

1313
env:
1414
LGTM_INDEX_XML_MODE: all
15-
LGTM_INDEX_FILETYPES: ".json:JSON\n.cds:JSON"
1615

1716
jobs:
1817
analyze-javascript:

extractors/cds/tools/index-files.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ fi
6161
# Enable extraction of the cds.json files only
6262
export LGTM_INDEX_FILTERS=$'exclude:**/*.*\ninclude:**/*cds.json'
6363
export LGTM_INDEX_TYPESCRIPT="NONE"
64+
# Configure to copy over the CDS files as well, by pretending they are JSON
65+
export LGTM_INDEX_FILETYPES: ".cds:JSON"
6466

6567
echo "Extracting the cds.json files"
6668

0 commit comments

Comments
 (0)