Fixed bug for empty repo info
This commit is contained in:
parent
5f2f202f49
commit
0992179dfd
|
@ -70,7 +70,7 @@ function getDependencyLicenseInfo(all_dependencies, recursive) {
|
||||||
}
|
}
|
||||||
const info = {
|
const info = {
|
||||||
author: packageinfo.author,
|
author: packageinfo.author,
|
||||||
repo: packageinfo.repository || packageinfo.repository.url,
|
repo: packageinfo.repository || packageinfo.repository?.url,
|
||||||
description: packageinfo.description,
|
description: packageinfo.description,
|
||||||
name: packageinfo.name,
|
name: packageinfo.name,
|
||||||
license: packageinfo.license,
|
license: packageinfo.license,
|
||||||
|
|
Reference in New Issue