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
+2 -2
View File
@@ -12,7 +12,7 @@ let GitHubish = module.exports;
* @param {String} [opts.username]
* @param {String} [opts.token]
*/
GitHubish.getAllReleases = async function ({
GitHubish.getDistributables = async function ({
owner,
repo,
baseurl,
@@ -114,7 +114,7 @@ GitHubish.getAllReleases = async function ({
};
if (module === require.main) {
GitHubish.getAllReleases({
GitHubish.getDistributables({
owner: 'BurntSushi',
repo: 'ripgrep',
baseurl: 'https://api.github.com',