diff options
Diffstat (limited to 'src/bun.js/undici.exports.js')
-rw-r--r-- | src/bun.js/undici.exports.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bun.js/undici.exports.js b/src/bun.js/undici.exports.js index 58621ff7d..d2d66e0ae 100644 --- a/src/bun.js/undici.exports.js +++ b/src/bun.js/undici.exports.js @@ -167,7 +167,7 @@ export async function request( if (typeof url === "string") { if (query) url = new URL(url); } else if (typeof url === "object" && url !== null) { - if (!url instanceof URL) { + if (!(url instanceof URL) ){ // TODO: Parse undici UrlObject throw new Error("not implemented"); } |