mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-22 01:49:07 +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 {
|
||||
const httpDispatcher = getProxyAgentDispatcher(destinationUrl)
|
||||
const proxyFetch = (url, opts) => {
|
||||
const proxyFetch: typeof fetch = async (url, opts) => {
|
||||
return fetch(url, {
|
||||
...opts,
|
||||
dispatcher: httpDispatcher
|
||||
|
Loading…
x
Reference in New Issue
Block a user