Skip to content

Commit

Permalink
fix(cmd): Fix quit log being ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Nov 14, 2024
1 parent 35968fc commit 4212ffd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ func run(cmd *cobra.Command, args []string) error {
slog.Info("Starting game")
config.InitLog(slog.LevelWarn)
_, err := program.Run()
config.InitLog(slog.LevelInfo)
slog.Info("Quitting game")
return err
}

0 comments on commit 4212ffd

Please sign in to comment.