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

fix(packagist): set empty releases

parent 53813e97
No related branches found
No related tags found
No related merge requests found
......@@ -84,6 +84,7 @@ function extractDepReleases(versions) {
const dep = {};
// istanbul ignore if
if (!versions) {
dep.releases = [];
return dep;
}
dep.releases = Object.keys(versions)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment