We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41fec32 commit 3701318Copy full SHA for 3701318
1 file changed
extractors/cds/tools/index-files.sh
@@ -78,11 +78,11 @@ fi
78
if [ -z "${LGTM_INDEX_FILTERS:-}" ]; then
79
exclude_filters=""
80
else
81
- echo "Found \$LGTM_INDEX_FILTERS already set to:\n$LGTM_INDEX_FILTERS"
+ echo $'Found \$LGTM_INDEX_FILTERS already set to:\n'"$LGTM_INDEX_FILTERS"
82
# If it is set, we will try to honour the paths-ignore filter
83
# Split by \n and find all the entries that start with exclude, excluding "exclude:**/*" and "exclude:**/*.*"
84
# and then join them back together with \n
85
- exclude_filters="\n$(echo "$LGTM_INDEX_FILTERS" | grep '^exclude' | grep -v 'exclude:\*\*/\*\|exclude:\*\*/\*\.\*')"
+ exclude_filters=$'\n'"$(echo "$LGTM_INDEX_FILTERS" | grep '^exclude' | grep -v 'exclude:\*\*/\*\|exclude:\*\*/\*\.\*')"
86
fi
87
88
# Enable extraction of the cds.json files only
0 commit comments