mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Use an empty object if metadata is ~null
This commit is contained in:
@@ -44,6 +44,7 @@ class Package
|
||||
catch error
|
||||
throw error unless ignoreErrors
|
||||
|
||||
metadata ?= {}
|
||||
metadata.name ?= packageName
|
||||
|
||||
if includeDeprecatedAPIs and metadata.stylesheetMain?
|
||||
|
||||
Reference in New Issue
Block a user