renames to reflect the switch to using toolrunner

This commit is contained in:
Nick Fyson 2020-09-08 00:01:04 +01:00
parent 3cd41279f2
commit 88951d6193
11 changed files with 36 additions and 36 deletions

6
lib/codeql.js generated
View file

@ -22,7 +22,7 @@ const v4_1 = __importDefault(require("uuid/v4"));
const api = __importStar(require("./api-client"));
const defaults = __importStar(require("./defaults.json")); // Referenced from codeql-action-sync-tool!
const error_matcher_1 = require("./error-matcher");
const exec_wrapper_1 = require("./exec-wrapper");
const toolrunner_error_catcher_1 = require("./toolrunner-error-catcher");
const util = __importStar(require("./util"));
/**
* Stores the CodeQL object, and is populated by `setupCodeQL` or `getCodeQL`.
@ -308,7 +308,7 @@ function getCodeQLForCmd(cmd) {
const ext = process.platform === 'win32' ? '.cmd' : '.sh';
const traceCommand = path.resolve(JSON.parse(extractorPath), 'tools', 'autobuild' + ext);
// Run trace command
await exec_wrapper_1.execErrorCatcher(cmd, [
await toolrunner_error_catcher_1.toolrunnerErrorCatcher(cmd, [
'database',
'trace-command',
...getExtraOptionsFromEnv(['database', 'trace-command']),
@ -318,7 +318,7 @@ function getCodeQLForCmd(cmd) {
], error_matcher_1.errorMatchers);
},
finalizeDatabase: async function (databasePath) {
await exec_wrapper_1.execErrorCatcher(cmd, [
await toolrunner_error_catcher_1.toolrunnerErrorCatcher(cmd, [
'database',
'finalize',
...getExtraOptionsFromEnv(['database', 'finalize']),