chore: format

This commit is contained in:
Timothy Jaeryang Baek
2025-02-20 01:01:29 -08:00
parent 2b913a99a3
commit eeb00a5ca2
60 changed files with 1548 additions and 1210 deletions

View File

@@ -37,7 +37,7 @@ function initNetworkProxyFromEnv() {
* @see https://github.com/nodejs/undici/issues/2224
*/
if (!preferedProxy || !preferedProxy.startsWith('http')) return;
let preferedProxyURL
let preferedProxyURL;
try {
preferedProxyURL = new URL(preferedProxy).toString();
} catch {