eficode-academy / git-katas

A set of exercises for deliberate Git Practice
MIT License
1.32k stars 860 forks source link

Gracefully fail when removing exercises folder (PowerShell) #259

Closed bothzoli closed 4 years ago

bothzoli commented 4 years ago

If for whatever reason the exercises folder cannot be removed the setup.ps1 script did not stop but continue running potentionally spilling a lot of error messages. With this change the failing deletion will stop the setup script.

Resolves: #243

bothzoli commented 4 years ago

i just realized that i merged this branch back to master in my repo, which messed it up. i'll close this one and start a new.