mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-03-03 18:00:18 +00:00
19 lines
434 B
JavaScript
19 lines
434 B
JavaScript
'use strict';
|
|
|
|
var github = require('../_common/gitea.js');
|
|
var owner = 'root';
|
|
var repo = 'pathman';
|
|
var baseurl = 'https://git.rootprojects.org';
|
|
|
|
module.exports = function (request) {
|
|
return github(request, owner, repo, baseurl).then(function (all) {
|
|
return all;
|
|
});
|
|
};
|
|
|
|
if (module === require.main) {
|
|
module.exports(require('@root/request')).then(function (all) {
|
|
console.info(JSON.stringify(all, null, 2));
|
|
});
|
|
}
|