mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Load packages by name instead of path
This commit is contained in:
@@ -65,7 +65,7 @@ _.extend atom,
|
||||
pack
|
||||
|
||||
loadPackages: ->
|
||||
@loadPackage(path) for path in @getAvailablePackagePaths() when not @isPackageDisabled(path)
|
||||
@loadPackage(name) for name in @getAvailablePackageNames() when not @isPackageDisabled(name)
|
||||
|
||||
loadPackage: (name, options) ->
|
||||
if @isPackageDisabled(name)
|
||||
|
||||
Reference in New Issue
Block a user