mirror of
https://github.com/github/codeql-action.git
synced 2026-05-08 06:40:19 +00:00
add CodeQL cmd to config
This commit is contained in:
@@ -16,6 +16,7 @@ test("emptyPaths", async t => {
|
||||
originalUserInput: {},
|
||||
tempDir: tmpDir,
|
||||
toolCacheDir: tmpDir,
|
||||
codeQLCmd: '',
|
||||
};
|
||||
analysisPaths.includeAndExcludeAnalysisPaths(config);
|
||||
t.is(process.env['LGTM_INDEX_INCLUDE'], undefined);
|
||||
@@ -34,6 +35,7 @@ test("nonEmptyPaths", async t => {
|
||||
originalUserInput: {},
|
||||
tempDir: tmpDir,
|
||||
toolCacheDir: tmpDir,
|
||||
codeQLCmd: '',
|
||||
};
|
||||
analysisPaths.includeAndExcludeAnalysisPaths(config);
|
||||
t.is(process.env['LGTM_INDEX_INCLUDE'], 'path1\npath2');
|
||||
|
||||
Reference in New Issue
Block a user