Skip to content

Commit

Permalink
moved debug initiliazation to the top of main
Browse files Browse the repository at this point in the history
  • Loading branch information
LumePart committed Dec 14, 2024
1 parent 554ff2b commit b5678b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,12 +243,12 @@ func parseResp[T any](body []byte, target *T) error {

func main() {
cfg := readEnv()
debug.Init(cfg.Debug)
cfg.detectSystem()
cfg.verifyDir(cfg.System)
cfg.handleDeprecation()
cfg.systemSetup()
cfg.getPlaylistName()
debug.Init(cfg.Debug)

var tracks []Track

Expand Down

0 comments on commit b5678b1

Please sign in to comment.