Open dtorres opened 3 months ago
This might be a bug (or change in behaviour) on Node actually as their own documentation claims that Bun's behaviour is what's expected.
Perhaps the documentation hasn't been updated(?). Because the undocumented behaviour makes more sense tbh
What version of Bun is running?
1.1.15+b23ba1fe1
What platform is your computer?
Darwin 22.6.0 arm64 arm
What steps can reproduce the bug?
Create a test file at
/tmp/testfile.txt
with the following content:Run this script:
What is the expected behavior?
What do you see instead?
Additional information
This was tested agains Node v22.3.0 which works as expected