chore: make Prettier
[webi-installers/.git] / pathman / releases.js
1 'use strict';
2
3 var github = require('../_common/gitea.js');
4 var owner = 'root';
5 var repo = 'pathman';
6 var baseurl = 'https://git.rootprojects.org';
7
8 module.exports = function (request) {
9   return github(request, owner, repo, baseurl).then(function (all) {
10     return all;
11   });
12 };
13
14 if (module === require.main) {
15   module.exports(require('@root/request')).then(function (all) {
16     console.info(JSON.stringify(all, null, 2));
17   });
18 }