Address comments from review
This commit is contained in:
parent
6de05e4b24
commit
5915e70486
6 changed files with 7 additions and 9 deletions
2
lib/feature-flags.js
generated
2
lib/feature-flags.js
generated
|
|
@ -73,7 +73,7 @@ class GitHubFeatureFlags {
|
|||
*/
|
||||
async getValue(flag, codeql) {
|
||||
if (!codeql && exports.featureConfig[flag].minimumVersion) {
|
||||
throw new Error(`A minimum version is specified for feature flag ${flag}, but no instance of CodeQL was provided.`);
|
||||
throw new Error(`Internal error: A minimum version is specified for feature flag ${flag}, but no instance of CodeQL was provided.`);
|
||||
}
|
||||
// Bypassing the toolcache is disabled in test mode.
|
||||
if (flag === Feature.BypassToolcacheEnabled && util.isInTestMode()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue