mirror of
https://github.com/github/codeql-action.git
synced 2026-10-30 01:27:22 +00:00
Implement unit tests for reading the Lua tracer FF in analyze-action.
This commit is contained in:
committed by
GitHub
parent
f422a50448
commit
ab7316e0c5
@@ -634,8 +634,10 @@ export function getCachedCodeQL(): CodeQL {
|
||||
* a non-existent placeholder codeql command, so tests that use this function
|
||||
* should also stub the toolrunner.ToolRunner constructor.
|
||||
*/
|
||||
export async function getCodeQLForTesting(): Promise<CodeQL> {
|
||||
return getCodeQLForCmd("codeql-for-testing", false);
|
||||
export async function getCodeQLForTesting(
|
||||
cmd = "codeql-for-testing"
|
||||
): Promise<CodeQL> {
|
||||
return getCodeQLForCmd(cmd, false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user