Skip to content
This repository has been archived by the owner on Jun 20, 2022. It is now read-only.

Commit

Permalink
fix: prevent malformed extension name from crashing the package manager
Browse files Browse the repository at this point in the history
  • Loading branch information
arielsvg committed Oct 22, 2020
1 parent f8dffd6 commit 3386814
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/javascripts/main/packageManager.ts
Expand Up @@ -157,7 +157,8 @@ export async function initializePackageManager(
components
.map(
({ content, deleted }) =>
`${content.name} (${content.package_info.version}) ` +
// eslint-disable-next-line camelcase
`${content?.name} (${content?.package_info?.version}) ` +
`(deleted: ${deleted})`
)
.join(', ')
Expand Down

0 comments on commit 3386814

Please sign in to comment.