mirror of
https://github.com/actions/setup-node.git
synced 2025-12-14 16:51:38 +08:00
.
This commit is contained in:
14
node_modules/@octokit/rest/plugins/rest-api-endpoints/index.js
generated
vendored
14
node_modules/@octokit/rest/plugins/rest-api-endpoints/index.js
generated
vendored
@@ -1,13 +1,13 @@
|
||||
module.exports = octokitRestApiEndpoints
|
||||
module.exports = octokitRestApiEndpoints;
|
||||
|
||||
const ROUTES = require('./routes.json')
|
||||
const ROUTES = require("./routes.json");
|
||||
|
||||
function octokitRestApiEndpoints (octokit) {
|
||||
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
|
||||
ROUTES.gitdata = ROUTES.git;
|
||||
ROUTES.authorization = ROUTES.oauthAuthorizations;
|
||||
ROUTES.pullRequests = ROUTES.pulls;
|
||||
|
||||
octokit.registerEndpoints(ROUTES)
|
||||
octokit.registerEndpoints(ROUTES);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user