mirror of
https://github.com/actions/setup-dotnet.git
synced 2024-11-27 05:43:06 +07:00
10 lines
325 B
JavaScript
10 lines
325 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()}`
|
|
}
|
|
});
|