JohnSundell / SwiftPlate

Easily generate cross platform Swift framework projects from the command line
MIT License
1.77k stars 88 forks source link

Remove temporary folder if git clone failed #31

Open JohnSundell opened 7 years ago

JohnSundell commented 7 years ago

Currently, SwiftPlate just leaves the temporary directory it creates as one of its first steps if the git clone of the SwiftPlate repo failed. If there's a failure, we should clean up so that SwiftPlate may be run again.