mirror of
https://github.com/github/codeql-action.git
synced 2026-10-30 01:27:22 +00:00
Introduce type error when CodeQL is needed
This commit is contained in:
@@ -316,7 +316,7 @@ export function createFeatures(enabledFeatures: Feature[]): FeatureEnablement {
|
||||
throw new Error("not implemented");
|
||||
},
|
||||
getValue: async (feature) => {
|
||||
return enabledFeatures.includes(feature);
|
||||
return enabledFeatures.includes(feature as Feature);
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user