mirror of https://github.com/actions/toolkit
fix linter
parent
8e0ade0a6a
commit
3d097f5e2f
|
@ -30,7 +30,7 @@ export function getProxyAgentDispatcher(
|
|||
|
||||
export function getProxyFetch(destinationUrl): typeof fetch {
|
||||
const httpDispatcher = getProxyAgentDispatcher(destinationUrl)
|
||||
const proxyFetch = (url, opts) => {
|
||||
const proxyFetch: typeof fetch = async (url, opts) => {
|
||||
return fetch(url, {
|
||||
...opts,
|
||||
dispatcher: httpDispatcher
|
||||
|
|
Loading…
Reference in New Issue