-
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.promises API is working but why #25435
Comments
Are you asking why that code works as expected in Node, but not in electron-webpack? If so, you'd have to take that up with the electron-webpack team. |
@cjihrig This code shouldn't work based on the "getOptions" function. The expected behavior is to throw :
Because the object I got the code from the v10.15.0-proposal branch. |
Wasn't this fixed by #20268? |
@richardlau You are right, then I got wrong source from debugger. Closing it. |
Details:
electron-userland/electron-webpack#255
In short:
Here it is the implementation of getOptions:
But this code is working:
The text was updated successfully, but these errors were encountered: