lachlanbell / SwiftOTP

A Swift library for generating One Time Passwords (OTP)
MIT License
285 stars 59 forks source link

Avoiding try! in Generator class #25

Closed rkreutz closed 4 years ago

rkreutz commented 4 years ago

Fairly simple change, safely unwrapping try since the generator method allows returning an optional String

lachlanbell commented 4 years ago

Thank you for the fix — don't know how I overlooked that one 😁