Mt erge branch 'master' into api-docs

This commit is contained in:
Matt Colyer
2013-10-22 15:12:43 -07:00
4 changed files with 12 additions and 22 deletions

View File

@@ -94,13 +94,6 @@ class PackageManager
packagePath = path.join(@resourcePath, 'node_modules', name)
return packagePath if @isInternalPackage(packagePath)
#TODO Remove once all package specs have been updated
if match = /(.+)-tmbundle$/.exec(name)
if name is 'hyperlink-helper-tmbundle'
@resolvePackagePath('language-hyperlink')
else
@resolvePackagePath("language-#{match[1]}")
isInternalPackage: (packagePath) ->
{engines} = Package.loadMetadata(packagePath, true)
engines?.atom?