jakeheis / SwiftCLI

A powerful framework for developing CLIs in Swift
MIT License
861 stars 72 forks source link

Replace unneeded `fatalError`s with `assertionFailure`s #81

Closed davdroman closed 5 years ago

davdroman commented 5 years ago

Crashing through fatalError should be avoided if the program can continue running. I replaced them with assertionFailure instead which will only make the program crash when debugging and never in production.

jakeheis commented 5 years ago

Thanks for the contribution!