From bcb7be4909d897a05c0ea0994953f3cdfbd5219c Mon Sep 17 00:00:00 2001 From: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Date: Sun, 19 Feb 2023 19:04:29 -0800 Subject: [PATCH] fixup double export --- src/bun.js/os.exports.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/bun.js/os.exports.js b/src/bun.js/os.exports.js index e4bbabe6e2..78f6d5ffc4 100644 --- a/src/bun.js/os.exports.js +++ b/src/bun.js/os.exports.js @@ -8,7 +8,6 @@ function bound(obj) { homedir: obj.homedir.bind(obj), hostname: obj.hostname.bind(obj), loadavg: obj.loadavg.bind(obj), - machine: obj.machine.bind(obj), networkInterfaces: obj.networkInterfaces.bind(obj), platform: obj.platform.bind(obj), release: obj.release.bind(obj), @@ -23,6 +22,7 @@ function bound(obj) { devNull: obj.devNull, EOL: obj.EOL, constants: obj.constants, + [Symbol.for("CommonJS")]: 0, }; } @@ -37,7 +37,6 @@ export var { homedir, hostname, loadavg, - machine, networkInterfaces, platform, release,