 
   metadata._atomModuleCache = moduleCache
   fs.writeFileSync(metadataPath, JSON.stringify(metadata, null, 2))
-  undefined
+
+  return
 
 exports.register = (resourcePath) ->
   return if cache.registered

  cache.registered = true
  cache.resourcePath = resourcePath

  undefined

exports.add = (directoryPath, metadata) ->
  unless metadata?


      loadDependencies(childPath, rootPath, rootMetadata, moduleCache)

  return

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