Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function clearCache() {
mem.clear(editorconfigSyncWithCache);
mem.clear(editorconfigAsyncWithCache);
}
module.exports.clear = memoized => {
if (!memoizedFunctions.has(memoized)) {
throw new Error('Can\'t clear a function that was not memoized!');
}
mem.clear(memoizedFunctions.get(memoized));
};
function clearCache() {
mem.clear(editorconfigSyncWithCache);
mem.clear(editorconfigAsyncWithCache);
}
function clearCache() {
mem.clear(getExplorerMemoized);
resolveEditorConfig.clearCache();
}