forked from github/codeql
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpre-finalize.cmd
More file actions
20 lines (18 loc) · 770 Bytes
/
Copy pathpre-finalize.cmd
File metadata and controls
20 lines (18 loc) · 770 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@echo off
SETLOCAL EnableDelayedExpansion
if NOT "%CODEQL_EXTRACTOR_GO_EXTRACT_HTML%"=="no" (
type NUL && "%CODEQL_DIST%/codeql.exe" database index-files ^
--working-dir=. ^
--include-extension=.htm ^
--include-extension=.html ^
--include-extension=.xhtm ^
--include-extension=.xhtml ^
--include-extension=.vue ^
--also-match-lgtm-index-filters ^
--size-limit 10m ^
--language html ^
-- ^
"%CODEQL_EXTRACTOR_GO_WIP_DATABASE%" ^
|| echo "HTML extraction failed; continuing"
exit /b %ERRORLEVEL%
)