ref(githubish): automated removal of unused request

This commit is contained in:
AJ ONeal
2024-10-14 09:03:22 +00:00
parent 93e6c64349
commit 2010c62226
68 changed files with 202 additions and 202 deletions
+3 -3
View File
@@ -4,9 +4,9 @@ var github = require('../_common/github.js');
var owner = 'git-for-windows';
var repo = 'git';
module.exports = function (request) {
module.exports = function () {
// TODO support mac and linux tarballs
return github(request, owner, repo).then(function (all) {
return github(null, owner, repo).then(function (all) {
// See https://github.com/git-for-windows/git/wiki/MinGit
// also consider https://github.com/git-for-windows/git/wiki/Silent-or-Unattended-Installation
all.releases = all.releases
@@ -26,7 +26,7 @@ module.exports = function (request) {
};
if (module === require.main) {
module.exports(require('@root/request')).then(function (all) {
module.exports().then(function (all) {
all = require('../_webi/normalize.js')(all);
console.info(JSON.stringify(all, null, 2));
});