setup-node/node_modules/@octokit/rest/plugins/validate/index.js
Danny McCormick 5273d0df9c Add auth
2019-08-06 18:29:44 -04:00

7 lines
176 B
JavaScript

module.exports = octokitValidate
const validate = require('./validate')
function octokitValidate (octokit) {
octokit.hook.before('request', validate.bind(null, octokit))
}