mirror of
https://gitea.com/actions/setup-node.git
synced 2025-08-24 04:29:10 +08:00
Add auth
This commit is contained in:
9
node_modules/@octokit/request/dist-src/index.js
generated
vendored
Normal file
9
node_modules/@octokit/request/dist-src/index.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import { endpoint } from "@octokit/endpoint";
|
||||
import getUserAgent from "universal-user-agent";
|
||||
import { VERSION } from "./version";
|
||||
import withDefaults from "./with-defaults";
|
||||
export const request = withDefaults(endpoint, {
|
||||
headers: {
|
||||
"user-agent": `octokit-request.js/${VERSION} ${getUserAgent()}`
|
||||
}
|
||||
});
|
Reference in New Issue
Block a user