mirror of
https://github.com/pnpm/pnpm.git
synced 2026-06-28 09:55:39 -04:00
The 'exec should merge node options with PnP require option' test (added in #12430) hardcoded an unquoted '--require=<path>' expectation. On Windows the .pnp.cjs path contains backslashes, which makeNodeRequireOption quotes and escapes for Node's NODE_OPTIONS tokenizer, so the assertion mismatched and the test failed on Windows runners. Derive the expected NODE_OPTIONS from makeNodeRequireOption itself so the expectation matches the implementation's quoting on every platform.
2.3 KiB
2.3 KiB