Open zxch3n opened 3 years ago
Yesterday jest runner delete my whole project...
I typed rm -rf ./tmp in vscode integrated terminal. Then I ran a test by jest runner. It appended cd '/User/xxx/the-project' to the terminal, which became rm -rf ./tmpcd '/User/xxx/the-project', and executed it. It made days of work gone.
rm -rf ./tmp
cd '/User/xxx/the-project'
rm -rf ./tmpcd '/User/xxx/the-project'
Yesterday jest runner delete my whole project...
I typed
rm -rf ./tmp
in vscode integrated terminal. Then I ran a test by jest runner. It appendedcd '/User/xxx/the-project'
to the terminal, which becamerm -rf ./tmpcd '/User/xxx/the-project'
, and executed it. It made days of work gone.