mirror of
https://github.com/github/codeql-action.git
synced 2026-10-30 01:27:22 +00:00
Explain why we're using --format=json to get the extractor path
This commit is contained in:
@@ -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