add exec_wrapper function
This commit is contained in:
parent
bd54c20d3e
commit
2b27c68c84
6 changed files with 86 additions and 3 deletions
3
lib/codeql.js
generated
3
lib/codeql.js
generated
|
|
@ -22,6 +22,7 @@ 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 exec_wrapper_1 = require("./exec_wrapper");
|
||||
const util = __importStar(require("./util"));
|
||||
/**
|
||||
* Stores the CodeQL object, and is populated by `setupCodeQL` or `getCodeQL`.
|
||||
|
|
@ -298,7 +299,7 @@ function getCodeQLForCmd(cmd) {
|
|||
]);
|
||||
},
|
||||
finalizeDatabase: async function (databasePath) {
|
||||
await exec.exec(cmd, [
|
||||
await exec_wrapper_1.exec_wrapper(cmd, [
|
||||
'database',
|
||||
'finalize',
|
||||
...getExtraOptionsFromEnv(['database', 'finalize']),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue