clean up and rename things to follow proper conventions
This commit is contained in:
parent
3e6d23928b
commit
cc2dfaf5d8
18 changed files with 52 additions and 68 deletions
8
lib/codeql.js
generated
8
lib/codeql.js
generated
|
|
@ -22,8 +22,8 @@ const globalutil = __importStar(require("util"));
|
|||
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 error_matcher_1 = require("./error-matcher");
|
||||
const exec_wrapper_1 = require("./exec-wrapper");
|
||||
const util = __importStar(require("./util"));
|
||||
/**
|
||||
* Stores the CodeQL object, and is populated by `setupCodeQL` or `getCodeQL`.
|
||||
|
|
@ -290,7 +290,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.exec_wrapper(cmd, [
|
||||
await exec_wrapper_1.execErrorCatcher(cmd, [
|
||||
'database',
|
||||
'trace-command',
|
||||
...getExtraOptionsFromEnv(['database', 'trace-command']),
|
||||
|
|
@ -300,7 +300,7 @@ function getCodeQLForCmd(cmd) {
|
|||
], error_matcher_1.errorMatchers);
|
||||
},
|
||||
finalizeDatabase: async function (databasePath) {
|
||||
await exec_wrapper_1.exec_wrapper(cmd, [
|
||||
await exec_wrapper_1.execErrorCatcher(cmd, [
|
||||
'database',
|
||||
'finalize',
|
||||
...getExtraOptionsFromEnv(['database', 'finalize']),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue