File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 7878if [ -z " ${LGTM_INDEX_FILTERS:- } " ]; then
7979 exclude_filters=" "
8080else
81+ echo " Found \$ LGTM_INDEX_FILTERS already set to:\n$LGTM_INDEX_FILTERS "
8182 # If it is set, we will try to honour the paths-ignore filter
8283 # Split by \n and find all the entries that start with exclude, excluding "exclude:**/*" and "exclude:**/*.*"
8384 # and then join them back together with \n
84- exclude_filters=" \n$( echo " $LGTM_INDEX_FILTERS " | grep ' ^exclude' | grep -v ' exclude:* */\*\|exclude:* */\*\.\*' ) "
85+ exclude_filters=" \n$( echo " $LGTM_INDEX_FILTERS " | grep ' ^exclude' | grep -v ' exclude:\*\ */\*\|exclude:\*\ */\*\.\*' ) "
8586fi
8687
8788# Enable extraction of the cds.json files only
8889export LGTM_INDEX_FILTERS=$' exclude:**/*.*\n include:**/*.cds.json\n include:**/*.cds\n exclude:**/node_modules/**/*.*' " $exclude_filters "
90+ echo " Setting \$ LGTM_INDEX_FILTERS to:\n$LGTM_INDEX_FILTERS "
8991export LGTM_INDEX_TYPESCRIPT=" NONE"
9092# Configure to copy over the CDS files as well, by pretending they are JSON
9193export LGTM_INDEX_FILETYPES=" .cds:JSON"
You can’t perform that action at this time.
0 commit comments