Explain why we're using --format=json to get the extractor path
This commit is contained in:
parent
be8f7b01a2
commit
4beb39593b
3 changed files with 7 additions and 1 deletions
3
lib/codeql.js
generated
3
lib/codeql.js
generated
|
|
@ -367,6 +367,9 @@ async function getCodeQLForCmd(cmd, checkVersion) {
|
|||
async extractScannedLanguage(config, language) {
|
||||
const databasePath = util.getCodeQLDatabasePath(config, language);
|
||||
// Get extractor location
|
||||
//
|
||||
// Request it using `format=json` so we don't need to strip the trailing new line generated by
|
||||
// the CLI.
|
||||
let extractorPath = "";
|
||||
await new toolrunner.ToolRunner(cmd, [
|
||||
"resolve",
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -650,6 +650,9 @@ export async function getCodeQLForCmd(
|
|||
async extractScannedLanguage(config: Config, language: Language) {
|
||||
const databasePath = util.getCodeQLDatabasePath(config, language);
|
||||
// Get extractor location
|
||||
//
|
||||
// Request it using `format=json` so we don't need to strip the trailing new line generated by
|
||||
// the CLI.
|
||||
let extractorPath = "";
|
||||
await new toolrunner.ToolRunner(
|
||||
cmd,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue