mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Merge pull request #10581 from atom/mb-fix-legacy-config-api
Require package's main module in legacy activateConfig method
This commit is contained in:
committed by
Max Brunsfeld
parent
73b546930a
commit
ff2751bbef
@@ -158,7 +158,9 @@ class Package
|
||||
false
|
||||
|
||||
# TODO: Remove. Settings view calls this method currently.
|
||||
activateConfig: -> @registerConfigSchemaFromMainModule()
|
||||
activateConfig: ->
|
||||
@requireMainModule()
|
||||
@registerConfigSchemaFromMainModule()
|
||||
|
||||
activateStylesheets: ->
|
||||
return if @stylesheetsActivated
|
||||
|
||||
Reference in New Issue
Block a user