Skip to content

Commit

Permalink
refactor: refactor Confidence
Browse files Browse the repository at this point in the history
  • Loading branch information
nickybondarenko authored and nicklasl committed Aug 20, 2024
1 parent ecb1c29 commit f621519
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 @@ -183,7 +183,7 @@ export class Confidence implements EventSender, Trackable, FlagResolver {
/** Clears flag cache */
clearFlagCache(): void {
if (this.config.flagResolverClient instanceof CachingFlagResolverClient) {
(this.config.flagResolverClient as CachingFlagResolverClient).forceEvict();
this.config.flagResolverClient.forceEvict();
}
}

Expand Down

0 comments on commit f621519

Please sign in to comment.