Skip to content
Snippets Groups Projects
Commit 3750d125 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix(nuget): handle null versions

parent 1409f923
Branches
Tags 13.106.1
No related merge requests found
......@@ -19,7 +19,7 @@ async function getPkgReleases(purl) {
const dep = {
name,
};
dep.releases = res.versions
dep.releases = (res.versions || [])
.filter(isVersion)
.sort(sortVersions)
.map(version => ({ version }));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment