gh-action-bump-version/node_modules/@octokit/rest/plugins/validate/index.js

8 lines
178 B
JavaScript
Raw Normal View History

2021-08-07 21:20:18 +00:00
module.exports = octokitValidate;
const validate = require("./validate");
function octokitValidate(octokit) {
octokit.hook.before("request", validate.bind(null, octokit));
}