Skip to content

Commit

Permalink
hard code extension refresh flag
Browse files Browse the repository at this point in the history
  • Loading branch information
audreyality committed Dec 30, 2024
1 parent 8a3c752 commit 709810f
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,11 @@ export class DefaultConfigService implements ConfigService {
serverConfig: ServerConfig | null,
flag: Flag,
) {
// bodge the extension refresh flag since it's only partially removed
if (flag === "extension-refresh") {
return true;

Check warning on line 137 in libs/common/src/platform/services/config/default-config.service.ts

View check run for this annotation

Codecov / codecov/patch

libs/common/src/platform/services/config/default-config.service.ts#L137

Added line #L137 was not covered by tests
}

if (serverConfig?.featureStates == null || serverConfig.featureStates[flag] == null) {
return DefaultFeatureFlagValue[flag];
}
Expand Down

0 comments on commit 709810f

Please sign in to comment.