       paths[relativePath] = true
   fs.traverseTreeSync(modulePath, onFile, onDirectory)
 
-  moduleCache.folders ?= []
   paths = Object.keys(paths)
   if paths.length > 0 and Object.keys(dependencies).length > 0
     moduleCache.folders.push({paths, dependencies})

    childMetadata = JSON.parse(fs.readFileSync(childMetadataPath))
    if childMetadata?.version
      relativePath = path.relative(rootPath, childPath)
      moduleCache.dependencies[relativePath] = childMetadata.version
      loadDependencies(childPath, rootPath, rootMetadata, moduleCache)

loadFolderCompatibility = (modulePath, rootPath, rootMetadata, moduleCache) ->


  moduleCache =
    version: 1
    dependencies: []
    folders: []
  loadDependencies(modulePath, modulePath, metadata, moduleCache)
  loadFolderCompatibility(modulePath, modulePath, metadata, moduleCache)

