mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-19 03:56:16 +00:00
ref: rename .getDistributables()
This commit is contained in:
+3
-3
@@ -40,7 +40,7 @@ let pkgMap = {
|
||||
musl: ['tar.gz', 'tar.xz'],
|
||||
};
|
||||
|
||||
async function getAllReleases(request) {
|
||||
async function getDistributables(request) {
|
||||
let all = {
|
||||
releases: [],
|
||||
download: '',
|
||||
@@ -174,10 +174,10 @@ async function getAllReleases(request) {
|
||||
|
||||
return all;
|
||||
}
|
||||
module.exports = getAllReleases;
|
||||
module.exports = getDistributables;
|
||||
|
||||
if (module === require.main) {
|
||||
getAllReleases(require('@root/request')).then(function (all) {
|
||||
getDistributables(require('@root/request')).then(function (all) {
|
||||
all = require('../_webi/normalize.js')(all);
|
||||
console.info(JSON.stringify(all));
|
||||
//console.info(JSON.stringify(all, null, 2));
|
||||
|
||||
Reference in New Issue
Block a user