setup-node/node_modules/@octokit/rest/plugins/register-endpoints/index.js

8 lines
218 B
JavaScript
Raw Normal View History

2019-08-07 05:29:44 +07:00
module.exports = octokitRegisterEndpoints
const registerEndpoints = require('./register-endpoints')
function octokitRegisterEndpoints (octokit) {
octokit.registerEndpoints = registerEndpoints.bind(null, octokit)
}