Exclude the temporary directory from scanning.

This commit is contained in:
Chris Gavin 2020-09-28 12:15:06 +01:00
parent 2841489ddf
commit 206e34cbb4
No known key found for this signature in database
GPG key ID: 07F950B80C27E4DA
9 changed files with 85 additions and 16 deletions

View file

@ -50,7 +50,7 @@ async function createdDBForScannedLanguages(
) {
// Insert the LGTM_INDEX_X env vars at this point so they are set when
// we extract any scanned languages.
analysisPaths.includeAndExcludeAnalysisPaths(config);
analysisPaths.includeAndExcludeAnalysisPaths(config, logger);
const codeql = getCodeQL(config.codeQLCmd);
for (const language of config.languages) {