mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Don't reassign metadata.name
This commit is contained in:
@@ -43,8 +43,8 @@ class Package
|
||||
@normalizeMetadata(metadata)
|
||||
catch error
|
||||
throw error unless ignoreErrors
|
||||
else
|
||||
metadata.name ?= packageName
|
||||
|
||||
metadata.name ?= packageName
|
||||
|
||||
if includeDeprecatedAPIs and metadata.stylesheetMain?
|
||||
deprecate("Use the `mainStyleSheet` key instead of `stylesheetMain` in the `package.json` of `#{packageName}`", {packageName})
|
||||
|
||||
Reference in New Issue
Block a user