mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-10 15:05:02 +08:00
Fix exception when attempting to load a package with no engines
in package.json
This commit is contained in:
parent
69cbfd3fc2
commit
6bd60ae748
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ export default class PackageManager {
|
|||
);
|
||||
}
|
||||
|
||||
if (!json.engines.mailspring) {
|
||||
if (!json.engines || !json.engines.mailspring) {
|
||||
return callback(
|
||||
new Error(
|
||||
localized(
|
||||
|
|
Loading…
Reference in a new issue