Skip to content

Commit 7100734

Browse files
Fix typo
1 parent 5ea10ad commit 7100734

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/storages/inLocalStorage/__tests__/validateCache.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ describe('validateCache', () => {
7979

8080
expect(validateCache({}, { ...fullSettings, core: { ...fullSettings.core, authorizationKey: 'another' } }, keys, splits, segments, largeSegments)).toBe(false);
8181

82-
expect(logSpy).toHaveBeenCalledWith('storage:localstorage: SDK key, flags filter criteria or flags spec version has changed. Cleaning up cache');
82+
expect(logSpy).toHaveBeenCalledWith('storage:localstorage: SDK key, flags filter criteria, or flags spec version has changed. Cleaning up cache');
8383

8484
expect(splits.clear).toHaveBeenCalledTimes(1);
8585
expect(segments.clear).toHaveBeenCalledTimes(1);

src/storages/inLocalStorage/validateCache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function validateExpiration(options: SplitIO.InLocalStorageOptions, settings: IS
4141
log.error(LOG_PREFIX + e);
4242
}
4343
if (isThereCache) {
44-
log.info(LOG_PREFIX + 'SDK key, flags filter criteria or flags spec version has changed. Cleaning up cache');
44+
log.info(LOG_PREFIX + 'SDK key, flags filter criteria, or flags spec version has changed. Cleaning up cache');
4545
return true;
4646
}
4747
return false; // No cache to clear

0 commit comments

Comments
 (0)