Closed mlejva closed 3 months ago
Currently sandbox.cwd can return string or none/undefined but that don't make sense because even if a developer doesn't set cwd manually, all operations are happening in the / path.
sandbox.cwd
/
So by default sandbox.cwd should return /.
The new beta SDK does not have the .cwd on the sandbox because of subtle bugs (like this) and because we wanted it as stateless as possible.
.cwd
Currently
sandbox.cwd
can return string or none/undefined but that don't make sense because even if a developer doesn't set cwd manually, all operations are happening in the/
path.So by default sandbox.cwd should return
/
.