I can't cd after I removed a sub-folder!? #1050
Labels
bash compat
Compatibility issues with bash or POSIX behavior
fix
Bug/defect, or a fix for such a problem
Node version (or tell us if you're using electron or some other framework): 12.18
ShellJS version (the most recent version/Github branch you see the bug on): 0.8.4
Operating system: Linux
Description of the bug:
When I'm in the folder (via cd) that I want to remove and I executed the
shell.rm()
the folder. like/tmp/testfolder
. I can't change the directory towards that root-folder, so in this case:shell.cd('/tmp')
won't work anymore!?Error I would get it:
Yes, the
/tmp
folder still exists! So I'm 100% sure that folder is NOT removed.Example ShellJS command to reproduce the error:
Please, help!?
The text was updated successfully, but these errors were encountered: