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
I foolishly ran unit tests on my local machine without looking at the code first :\ I even agreed to give permissions to access/edit files in my Documents folder.
Little did I know, later on everything in my ~/Documents folder was completely erased off of my hard drive, it went straight into the void past the bin.
Luckily I was able to restore all deleted files using iCloud. But there might be other people who do the same mistake.
It would be a very good idea to put some kind of dummy protection in place for unit tests like this.
The text was updated successfully, but these errors were encountered:
I foolishly ran unit tests on my local machine without looking at the code first :\ I even agreed to give permissions to access/edit files in my Documents folder.
Little did I know, later on everything in my ~/Documents folder was completely erased off of my hard drive, it went straight into the void past the bin.
Luckily I was able to restore all deleted files using iCloud. But there might be other people who do the same mistake.
It would be a very good idea to put some kind of dummy protection in place for unit tests like this.
The text was updated successfully, but these errors were encountered: