mirror of
https://github.com/github/codeql-action.git
synced 2026-10-30 01:27:22 +00:00
Support determining Dotcom CLI version from feature flags
This commit is contained in:
@@ -201,6 +201,9 @@ export function mockCodeQLVersion(version) {
|
||||
*/
|
||||
export function createFeatures(enabledFeatures: Feature[]): FeatureEnablement {
|
||||
return {
|
||||
getDefaultCliVersion: async () => {
|
||||
throw new Error("not implemented");
|
||||
},
|
||||
getValue: async (feature) => {
|
||||
return enabledFeatures.includes(feature);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user