refactor: perform cleanup
All checks were successful
Go CI Pipeline / ci (push) Successful in 28s
Release Builds / GoReleaser build (push) Successful in 1m7s

This commit is contained in:
Patryk Hegenberg 2025-06-30 08:07:53 +02:00
parent d8743e54c1
commit 54979319ff
7 changed files with 13 additions and 45 deletions

4
cmd.go
View file

@ -155,7 +155,7 @@ This also stops any currently running timer.`,
if err := a.timeStore.LogFullDay(tagLower, today); err != nil {
return fmt.Errorf("could not log '%s' for today: %w", tagLower, err)
}
return nil // Erfolg
return nil
default:
fmt.Printf("Attempting to start tracking interval '%s'...\n", tag)
@ -163,7 +163,7 @@ This also stops any currently running timer.`,
slog.Error(fmt.Sprintf("Failed to start tracking '%s': %v", tag, err))
return fmt.Errorf("could not start tracking '%s': %w", tag, err)
}
return nil // Erfolg
return nil
}
},
}