mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-23 22:16:48 +00:00
ref: rename .getDistributables()
This commit is contained in:
@@ -11,7 +11,7 @@ require('dotenv').config();
|
||||
* @param {string} repo
|
||||
* @returns {PromiseLike<any> | Promise<any>}
|
||||
*/
|
||||
async function getAllReleases(
|
||||
async function getDistributables(
|
||||
request,
|
||||
owner,
|
||||
repo,
|
||||
@@ -120,10 +120,10 @@ function combinate(all, oses, arches) {
|
||||
return all;
|
||||
}
|
||||
|
||||
module.exports = getAllReleases;
|
||||
module.exports = getDistributables;
|
||||
|
||||
if (module === require.main) {
|
||||
getAllReleases(
|
||||
getDistributables(
|
||||
require('@root/request'),
|
||||
'BeyondCodeBootcamp',
|
||||
'DuckDNS.sh',
|
||||
|
||||
Reference in New Issue
Block a user