mirror of
https://gitea.com/actions/setup-maven.git
synced 2025-11-10 03:06:22 +08:00
Husky commit correct node modules
This commit is contained in:
13
node_modules/@octokit/rest/plugins/rest-api-endpoints/index.js
generated
vendored
Normal file
13
node_modules/@octokit/rest/plugins/rest-api-endpoints/index.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
module.exports = octokitRestApiEndpoints;
|
||||
|
||||
const ROUTES = require("./routes.json");
|
||||
|
||||
function octokitRestApiEndpoints(octokit) {
|
||||
// Aliasing scopes for backward compatibility
|
||||
// See https://github.com/octokit/rest.js/pull/1134
|
||||
ROUTES.gitdata = ROUTES.git;
|
||||
ROUTES.authorization = ROUTES.oauthAuthorizations;
|
||||
ROUTES.pullRequests = ROUTES.pulls;
|
||||
|
||||
octokit.registerEndpoints(ROUTES);
|
||||
}
|
||||
Reference in New Issue
Block a user