add CodeQL cmd to config
This commit is contained in:
parent
360e77a083
commit
038c4ebdf7
21 changed files with 187 additions and 138 deletions
2
lib/analysis-paths.test.js
generated
2
lib/analysis-paths.test.js
generated
|
|
@ -25,6 +25,7 @@ ava_1.default("emptyPaths", async (t) => {
|
|||
originalUserInput: {},
|
||||
tempDir: tmpDir,
|
||||
toolCacheDir: tmpDir,
|
||||
codeQLCmd: '',
|
||||
};
|
||||
analysisPaths.includeAndExcludeAnalysisPaths(config);
|
||||
t.is(process.env['LGTM_INDEX_INCLUDE'], undefined);
|
||||
|
|
@ -42,6 +43,7 @@ ava_1.default("nonEmptyPaths", async (t) => {
|
|||
originalUserInput: {},
|
||||
tempDir: tmpDir,
|
||||
toolCacheDir: tmpDir,
|
||||
codeQLCmd: '',
|
||||
};
|
||||
analysisPaths.includeAndExcludeAnalysisPaths(config);
|
||||
t.is(process.env['LGTM_INDEX_INCLUDE'], 'path1\npath2');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue