Support features key in version JSON output
This commit is contained in:
parent
3dd4ad872b
commit
74b46628c3
30 changed files with 182 additions and 73 deletions
2
lib/util.js
generated
2
lib/util.js
generated
|
|
@ -441,7 +441,7 @@ function getCachedCodeQlVersion() {
|
|||
}
|
||||
exports.getCachedCodeQlVersion = getCachedCodeQlVersion;
|
||||
async function codeQlVersionAbove(codeql, requiredVersion) {
|
||||
return semver.gte(await codeql.getVersion(), requiredVersion);
|
||||
return semver.gte((await codeql.getVersion()).version, requiredVersion);
|
||||
}
|
||||
exports.codeQlVersionAbove = codeQlVersionAbove;
|
||||
// Create a bundle for the given DB, if it doesn't already exist
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue