Skip to content

Commit b5678b1

Browse files
committed
moved debug initiliazation to the top of main
1 parent 554ff2b commit b5678b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,12 +243,12 @@ func parseResp[T any](body []byte, target *T) error {
243243

244244
func main() {
245245
cfg := readEnv()
246+
debug.Init(cfg.Debug)
246247
cfg.detectSystem()
247248
cfg.verifyDir(cfg.System)
248249
cfg.handleDeprecation()
249250
cfg.systemSetup()
250251
cfg.getPlaylistName()
251-
debug.Init(cfg.Debug)
252252

253253
var tracks []Track
254254

0 commit comments

Comments
 (0)