Fixed bug for empty repo info

This commit is contained in:
Nicolai Ort 2021-02-13 13:44:52 +01:00
parent 5f2f202f49
commit 0992179dfd
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ function getDependencyLicenseInfo(all_dependencies, recursive) {
}
const info = {
author: packageinfo.author,
repo: packageinfo.repository || packageinfo.repository.url,
repo: packageinfo.repository || packageinfo.repository?.url,
description: packageinfo.description,
name: packageinfo.name,
license: packageinfo.license,