diff --git a/lib/config/config-cache.js b/lib/config/config-cache.js index 0ffcae9440f..b89f33430d5 100644 --- a/lib/config/config-cache.js +++ b/lib/config/config-cache.js @@ -24,9 +24,9 @@ function hash(vector) { //------------------------------------------------------------------------------ /** - * Configuration caching class (not exported) + * Configuration caching class */ -class ConfigCache { +module.exports = class ConfigCache { constructor() { this.filePathCache = new Map(); @@ -125,6 +125,4 @@ class ConfigCache { setMergedConfig(vector, config) { this.mergedCache.set(hash(vector), config); } -} - -module.exports = ConfigCache; +};