-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fs.writeFileSync
regression in v21.3.0 on MacOS
#50989
Comments
It seems the behavior for You can wait on PR #50990 or alternatively pass the
|
I don't know why but our tests are passing on Linux and Windows. |
This may be breaking me in eslint-plugin-import as well https://github.com/import-js/eslint-plugin-import/actions/runs/7083055767/job/19274802696 |
…odejs 21.3.0 bug see nodejs/node#50989
It looks like the fix will be released in |
By adding a [`w` flag to the write call](nodejs/node#50989). Also made a test more forgiving so it passes on systems that have non-standard `bash` and `sh` binary paths.
Version
v21.3.0
Platform
Darwin air@xxx.net 20.3.0 Darwin Kernel Version 20.3.0: Thu Jan 21 00:06:51 PST 2021; root:xnu-7195.81.3~1/RELEASE_ARM64_T8101 arm64
Subsystem
fs
What steps will reproduce the bug?
Run the following code with Node v21.3.0
How often does it reproduce? Is there a required condition?
always
What is the expected behavior? Why is that the expected behavior?
V21.2.0 worked as expected
What do you see instead?
Additional information
No response
The text was updated successfully, but these errors were encountered: