     for folderPath in entry.paths
       cache.folders[path.join(directoryPath, folderPath)] = entry.dependencies
 
-  undefined
+  return
 
 exports.cache = cache


  metadata._atomModuleCache = moduleCache
  fs.writeFileSync(metadataPath, JSON.stringify(metadata, null, 2))
  undefined

exports.register = (resourcePath) ->
  return if cache.registered


      loadDependencies(childPath, rootPath, rootMetadata, moduleCache)

  return

loadFolderCompatibility = (modulePath, rootPath, rootMetadata, moduleCache) ->
  metadataPath = path.join(modulePath, 'package.json')
