add comment

This commit is contained in:
silverwind 2024-03-09 06:07:26 +01:00
parent 6279e25261
commit 5f4cb0388f
Signed by untrusted user: silverwind
GPG Key ID: 2E62B41C93869443

@ -17,6 +17,8 @@ import pAll from "p-all";
import memize from "memize";
import picomatch from "picomatch";
// bun and deno have built-in proxy support via environment while undici has not,
// so we fall back to node-fetch with fetch-enhanced wrapper to add it there.
let fetch;
if (globalThis.fetch && !versions?.node) {
fetch = globalThis.fetch;