Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind committed Mar 9, 2024
1 parent 6279e25 commit 5f4cb03
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions updates.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5f4cb03

Please sign in to comment.