mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 04:09:28 +00:00
chore: reduce any usage in build/ (#270109)
This commit is contained in:
@@ -54,8 +54,7 @@ export async function fetchUrl(url: string, options: IFetchOptions, retries = 10
|
||||
try {
|
||||
const response = await fetch(url, {
|
||||
...options.nodeFetchOptions,
|
||||
// eslint-disable-next-line local/code-no-any-casts
|
||||
signal: controller.signal as any /* Typings issue with lib.dom.d.ts */
|
||||
signal: controller.signal
|
||||
});
|
||||
if (verbose) {
|
||||
log(`Fetch completed: Status ${response.status}. Took ${ansiColors.magenta(`${new Date().getTime() - startTime} ms`)}`);
|
||||
|
||||
Reference in New Issue
Block a user