Permalink
Browse files

Chore: Fix misleading comment in ConfigCache.js (#8799)

In a previous iteration of the glob config implementation, the ConfigCache class was not exported from its module. However, now it is exported. This commit removes an outdated comment that stated the opposite.
  • Loading branch information...
not-an-aardvark committed Jun 25, 2017
1 parent 7d9e3be commit d2e88edf0a145011b67799bdf49727e854239eb6
Showing with 3 additions and 5 deletions.
  1. +3 −5 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;
};

0 comments on commit d2e88ed

Please sign in to comment.