mirror of
https://github.com/github/codeql.git
synced 2026-01-29 06:12:58 +01:00
Explicity pass working directory to index-files
This commit is contained in:
@@ -3,6 +3,7 @@ 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 ^
|
||||
|
||||
@@ -4,6 +4,7 @@ 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 \
|
||||
|
||||
Reference in New Issue
Block a user