fix(builds-cacher): fallback to setting build.name from build.download

This commit is contained in:
AJ ONeal
2024-01-02 15:54:06 -07:00
parent 11e1bf94f0
commit ca03de16c6

View File

@@ -415,6 +415,10 @@ BuildsCacher.create = function ({ ALL_TERMS, installers, caches }) {
continue;
}
if (!build.name) {
build.name = build.download.replace(/.*\//, '');
}
build.target = buildTarget;
meta.packages.push(build);
}