Skip to content

Commit

Permalink
refactor: refactor Confidence
Browse files Browse the repository at this point in the history
  • Loading branch information
nickybondarenko committed Aug 15, 2024
1 parent 1d67b64 commit 5fb9c2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sdk/src/Confidence.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export class Confidence implements EventSender, Trackable, FlagResolver {

clearFlagCache(): void {
if (this.config.flagResolverClient instanceof CachingFlagResolverClient) {
(this.config.flagResolverClient as CachingFlagResolverClient).forceEvict();
this.config.flagResolverClient.forceEvict();
}
}

Expand Down

0 comments on commit 5fb9c2d

Please sign in to comment.