mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-22 03:29:06 +08:00
fix linter
This commit is contained in:
parent
8e0ade0a6a
commit
3d097f5e2f
@ -30,7 +30,7 @@ export function getProxyAgentDispatcher(
|
|||||||
|
|
||||||
export function getProxyFetch(destinationUrl): typeof fetch {
|
export function getProxyFetch(destinationUrl): typeof fetch {
|
||||||
const httpDispatcher = getProxyAgentDispatcher(destinationUrl)
|
const httpDispatcher = getProxyAgentDispatcher(destinationUrl)
|
||||||
const proxyFetch = (url, opts) => {
|
const proxyFetch: typeof fetch = async (url, opts) => {
|
||||||
return fetch(url, {
|
return fetch(url, {
|
||||||
...opts,
|
...opts,
|
||||||
dispatcher: httpDispatcher
|
dispatcher: httpDispatcher
|
||||||
|
Loading…
x
Reference in New Issue
Block a user