Closed Silvris closed 2 years ago
Ah, not exactly that. But still, not throwing an error when os.Stat returns an error will cause the FirstTime config screen to not load.
Doh I was just working on that and never tested the case of no config...
On Wed, Jul 27, 2022, 2:14 AM Silvris @.***> wrote:
Ah, not exactly that. But still, not throwing an error when os.Stat returns an error will cause the FirstTime config screen to not load.
— Reply to this email directly, view it on GitHub https://github.com/KiameV/moogle-mod-manager/issues/29#issuecomment-1196405571, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGILGUVQAU4GO2XL2O5GOCLVWDVX5ANCNFSM54YRS5OQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Fixed with v 0.1.3 Thanks!
As title states, util.LoadFromFile returns nil by default, which it can only reach when a file does not exist. This should throw an error.