mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Force metadata name to be package name
This commit is contained in:
@@ -64,7 +64,7 @@ class AtomPackage extends Package
|
||||
if metadataPath = CSON.resolve(fsUtils.join(@path, 'package'))
|
||||
@metadata = CSON.readFileSync(metadataPath)
|
||||
@metadata ?= {}
|
||||
@metadata.name ?= @name
|
||||
@metadata.name = @name
|
||||
|
||||
loadKeymaps: ->
|
||||
@keymaps = @getKeymapPaths().map (path) -> [path, CSON.readFileSync(path)]
|
||||
|
||||
Reference in New Issue
Block a user