mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Parameterize configDirPath and move config.load in ctor
This commit is contained in:
@@ -37,7 +37,7 @@ class PackageManager
|
||||
@emitter = new Emitter
|
||||
@activationHookEmitter = new Emitter
|
||||
@packageDirPaths = []
|
||||
unless safeMode
|
||||
if configDirPath? and not safeMode
|
||||
if @devMode
|
||||
@packageDirPaths.push(path.join(configDirPath, "dev", "packages"))
|
||||
@packageDirPaths.push(path.join(configDirPath, "packages"))
|
||||
|
||||
Reference in New Issue
Block a user