add default arch amd64

This commit is contained in:
AJ ONeal
2020-05-03 10:52:48 +00:00
parent 101308b759
commit a3fd85298a
+6
View File
@@ -7,6 +7,12 @@ var baseurl = 'https://git.coolaj86.com';
module.exports = function (request) {
return github(request, owner, repo, baseurl).then(function (all) {
all.releases.forEach(function (rel) {
// TODO name uploads with arch, duh
if (!rel.arch) {
rel.arch = 'amd64';
}
});
return all;
});
};