mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 17:41:28 +00:00
remove spurious use of exec_wrapper
This commit is contained in:
4
lib/codeql.js
generated
4
lib/codeql.js
generated
@@ -272,13 +272,13 @@ function getCodeQLForCmd(cmd) {
|
||||
extractScannedLanguage: async function (databasePath, language) {
|
||||
// Get extractor location
|
||||
let extractorPath = '';
|
||||
await exec_wrapper_1.exec_wrapper(cmd, [
|
||||
await exec.exec(cmd, [
|
||||
'resolve',
|
||||
'extractor',
|
||||
'--format=json',
|
||||
'--language=' + language,
|
||||
...getExtraOptionsFromEnv(['resolve', 'extractor']),
|
||||
], [[0, new RegExp("(No source code was seen during the build\\.|No JavaScript or TypeScript code found\\.)"), 'foo bar']], {
|
||||
], {
|
||||
silent: true,
|
||||
listeners: {
|
||||
stdout: (data) => { extractorPath += data.toString(); },
|
||||
|
||||
Reference in New Issue
Block a user