mirror of
https://github.com/github/codeql-action
synced 2026-05-25 15:00:36 +03:00
Explain why we're using --format=json to get the extractor path
This commit is contained in:
Generated
+3
@@ -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",
|
||||
|
||||
+1
-1
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,
|
||||
|
||||
Reference in New Issue
Block a user