mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 22:46:27 +00:00
fix(nuget): handle missing properties (#6437)
This commit is contained in:
parent
33ca9d9aed
commit
3166e2b398
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ import { id } from './common';
|
||||||
const http = new Http(id);
|
const http = new Http(id);
|
||||||
|
|
||||||
function getPkgProp(pkgInfo: XmlElement, propName: string): string {
|
function getPkgProp(pkgInfo: XmlElement, propName: string): string {
|
||||||
return pkgInfo.childNamed('m:properties').childNamed(`d:${propName}`).val;
|
return pkgInfo.childNamed('m:properties').childNamed(`d:${propName}`)?.val;
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function getReleases(
|
export async function getReleases(
|
||||||
|
|
Loading…
Reference in a new issue