Files
release-action/node_modules/@octokit/request/dist-src/index.js
Nick Cipollo 880be3d0a7
Some checks failed
Test / check_pr (push) Has been cancelled
Prepare 1.8.6 release
2021-05-24 11:25:03 -04:00

10 lines
327 B
JavaScript

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()}`,
},
});