module.exports = () =>
  (
    (cache) =>
      (key, str) =>
        key === true
          ? cache = {}
          : str
            ? cache[key] = str
            : key[str]
  )({})


module.exports = () =>
  (
    (cache) =>
      (key, str) =>
        key === true
          ? cache = {}
          : str
            ? cache[key] = str
            : cache[key]
  )({})


Fix a bug inside the caching module
Fix a bug inside the caching module
