Unshift into array instead of creating new one

This commit is contained in:
Kevin Sawicki
2013-10-27 18:38:50 -07:00
parent c571d6a9d4
commit 62f44e64f4

View File

@@ -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: ->