debug: what happens if we just bypass return

This commit is contained in:
Fotis Koutoulakis (@NlightNFotis)
2024-10-24 14:29:42 +01:00
parent 2d27f9b8e3
commit e93bd1c127
+1 -1
View File
@@ -491,7 +491,7 @@ class GitHubFeatureFlags {
private async loadApiResponse(): Promise<GitHubFeatureFlagsApiResponse> {
// Do nothing when not running against github.com
if (this.gitHubVersion.type !== util.GitHubVariant.DOTCOM) {
if (this.gitHubVersion.type !== util.GitHubVariant.DOTCOM && this.gitHubVersion.type !== util.GitHubVariant.GHE_DOTCOM) {
this.logger.debug(
"Not running against github.com. Disabling all toggleable features.",
);