mirror of
https://github.com/github/codeql-action.git
synced 2025-12-23 15:50:11 +08:00
Explain why we're using --format=json to get the extractor path
This commit is contained in:
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",
|
||||
|
||||
Reference in New Issue
Block a user