aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bun.js/path.exports.js2
-rw-r--r--src/bun.js/undici.exports.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bun.js/path.exports.js b/src/bun.js/path.exports.js
index 8879771ab..dd0aabadd 100644
--- a/src/bun.js/path.exports.js
+++ b/src/bun.js/path.exports.js
@@ -1,5 +1,5 @@
// Utils to extract later
-const createModule = (obj) => Object.assign(Object.create(null), obj);
+const createModule = obj => Object.assign(Object.create(null), obj);
function bound(obj) {
var result = createModule({
diff --git a/src/bun.js/undici.exports.js b/src/bun.js/undici.exports.js
index d2d66e0ae..dc1ee47a3 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");
}