mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
Unshift into array instead of creating new one
This commit is contained in:
@@ -12,7 +12,7 @@ class ThemePackage extends AtomPackage
|
||||
|
||||
enable: ->
|
||||
themes = atom.config.get('core.themes')
|
||||
themes = [@metadata.name].concat(themes)
|
||||
themes.unshift(@metadata.name)
|
||||
atom.config.set('core.themes', themes)
|
||||
|
||||
disable: ->
|
||||
|
||||
Reference in New Issue
Block a user