mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
19 lines
661 B
Bash
Executable File
19 lines
661 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -eu
|
|
|
|
if [ "${CODEQL_EXTRACTOR_GO_EXTRACT_HTML:-yes}" != "no" ]; then
|
|
"$CODEQL_DIST/codeql" database index-files \
|
|
--working-dir=. \
|
|
--include-extension=.htm \
|
|
--include-extension=.html \
|
|
--include-extension=.xhtm \
|
|
--include-extension=.xhtml \
|
|
--include-extension=.vue \
|
|
--size-limit 10m \
|
|
--language html \
|
|
-- \
|
|
"$CODEQL_EXTRACTOR_GO_WIP_DATABASE" \
|
|
|| echo "HTML extraction failed; continuing."
|
|
fi
|