Files
release-action/node_modules/@octokit/request/dist-src/index.js
Nick Cipollo 1df3b9d90d
Some checks failed
PR Checks / check_pr (push) Has been cancelled
Prepare release 1.7.2
2020-07-20 19:20:24 -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()}`,
},
});