ref: rename .getDistributables()

This commit is contained in:
AJ ONeal
2024-09-13 08:33:33 +00:00
parent 3364dcb075
commit e3e61ca256
12 changed files with 38 additions and 38 deletions
+3 -3
View File
@@ -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',