You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generate a snapshot of the given script, then run it from a different directory. The process.cwd() function will keep returning the cwd you had while building the snapshot.
Version
v20.6.1
Platform
Darwin
Subsystem
snapshots
What steps will reproduce the bug?
Generate a snapshot of the given script, then run it from a different directory. The
process.cwd()
function will keep returning the cwd you had while building the snapshot.How often does it reproduce? Is there a required condition?
No response
What is the expected behavior? Why is that the expected behavior?
It should return the actual cwd.
What do you see instead?
It returns the cwd at the time of
--build-snapshot
.Additional information
No response
The text was updated successfully, but these errors were encountered: