mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Mt erge branch 'master' into api-docs
This commit is contained in:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user