mirror of
https://github.com/github/codeql-action
synced 2026-12-04 13:59:31 +08:00
renames to reflect the switch to using toolrunner
This commit is contained in:
1 parent
3cd41279f2
commit
88951d6193
11 files changed
+36
-36
No files matched your search
Generated
+3
-3
@@ -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']),
|
||||
|
||||
Reference in new issue
Block a user