Skip to content

Commit

Permalink
Chore: Fix misleading comment in ConfigCache.js (#8799)
Browse files Browse the repository at this point in the history
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 d2e88ed
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions lib/config/config-cache.js
Expand Up @@ -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();
Expand Down Expand Up @@ -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.