remove spurious use of exec_wrapper
This commit is contained in:
parent
6a43a6178d
commit
dd4e841441
3 changed files with 4 additions and 5 deletions
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(); },
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -359,7 +359,7 @@ function getCodeQLForCmd(cmd: string): CodeQL {
|
|||
extractScannedLanguage: async function(databasePath: string, language: Language) {
|
||||
// Get extractor location
|
||||
let extractorPath = '';
|
||||
await exec_wrapper(
|
||||
await exec.exec(
|
||||
cmd,
|
||||
[
|
||||
'resolve',
|
||||
|
|
@ -368,7 +368,6 @@ function getCodeQLForCmd(cmd: string): CodeQL {
|
|||
'--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: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue