mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Reverse load path order
Packages may be linked into ~/.atom/packages or ~/.atom/dev/packages so the resource should be loaded from there when available.
This commit is contained in:
@@ -11,9 +11,9 @@ module.exports =
|
||||
class AtomProtocolHandler
|
||||
constructor: (@resourcePath) ->
|
||||
@loadPaths = [
|
||||
path.join(@resourcePath, 'node_modules')
|
||||
path.join(app.getHomeDir(), '.atom', 'packages')
|
||||
path.join(app.getHomeDir(), '.atom', 'dev', 'packages')
|
||||
path.join(app.getHomeDir(), '.atom', 'packages')
|
||||
path.join(@resourcePath, 'node_modules')
|
||||
]
|
||||
|
||||
@registerAtomProtocol()
|
||||
|
||||
Reference in New Issue
Block a user