mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
🎨
This commit is contained in:
@@ -44,8 +44,7 @@ class Package
|
||||
catch error
|
||||
throw error unless ignoreErrors
|
||||
else
|
||||
metadata ?= {}
|
||||
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