add alternative script for in runner mode

This commit is contained in:
Robert Brignull 2020-09-02 15:48:08 +01:00
parent 5c0bd22d01
commit 48df01325b
9 changed files with 113 additions and 53 deletions

2
lib/runner.js generated
View file

@ -95,7 +95,7 @@ program
codeql = await init_1.initCodeQL(undefined, cmd.githubAuth, parseGithubUrl(cmd.githubUrl), tempDir, toolsDir, 'runner', logger);
}
const config = await init_1.initConfig(cmd.languages, cmd.queries, cmd.configFile, repository_1.parseRepositoryNwo(cmd.repository), tempDir, toolsDir, codeql, cmd.checkoutPath || process.cwd(), cmd.githubAuth, parseGithubUrl(cmd.githubUrl), logger);
const tracerConfig = await init_1.runInit(codeql, config);
const tracerConfig = await init_1.runInit(codeql, config, 'runner');
if (tracerConfig === undefined) {
return;
}