Remove "_enabled" suffix from non-legacy features
This commit is contained in:
parent
9dc84e9abe
commit
cf4c3b4434
15 changed files with 48 additions and 31 deletions
2
lib/tracer-config.js
generated
2
lib/tracer-config.js
generated
|
|
@ -33,7 +33,7 @@ const util_1 = require("./util");
|
|||
async function shouldEnableIndirectTracing(codeql, config, features) {
|
||||
return ((!config.buildMode ||
|
||||
config.buildMode === util_1.BuildMode.Manual ||
|
||||
!(await features.getValue(feature_flags_1.Feature.AutobuildDirectTracingEnabled, codeql))) &&
|
||||
!(await features.getValue(feature_flags_1.Feature.AutobuildDirectTracing, codeql))) &&
|
||||
config.languages.some((l) => (0, languages_1.isTracedLanguage)(l)));
|
||||
}
|
||||
exports.shouldEnableIndirectTracing = shouldEnableIndirectTracing;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue