Skip to content
Snippets Groups Projects
Unverified Commit 3166e2b3 authored by Michael Kriese's avatar Michael Kriese Committed by GitHub
Browse files

fix(nuget): handle missing properties (#6437)

parent 33ca9d9a
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ import { id } from './common'; ...@@ -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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment