Files
release-action/node_modules/@octokit/request/dist-src/index.js
Nick Cipollo 81af6e69fb
Some checks failed
PR Checks / check_pr (push) Has been cancelled
Prepare 1.6.0 release
2020-03-02 22:24:25 -05:00

10 lines
321 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()}`
}
});