windows fixes

This commit is contained in:
Meghan Denny
2025-04-30 18:51:59 -07:00
parent e0b3ef0683
commit eb563fa3e4
5 changed files with 18 additions and 47 deletions

View File

@@ -106,7 +106,8 @@ if (common.isWindows) {
}
// https://github.com/nodejs/node/issues/45380
{
// BUN: TODO: on windows
if (common.isWindows) {
const env = structuredClone(process.env);
// deepEqual(), not deepStrictEqual(), because of different prototypes.
// eslint-disable-next-line no-restricted-properties