diff --git a/cmd/t/u.go b/cmd/t/u.go index 3145c60d0aaa0620cda719484fa9472f189386f6..d5e98a3a3aa680ed190cc00ec818cb8fe9e5db41 100644 --- a/cmd/t/u.go +++ b/cmd/t/u.go @@ -188,7 +188,7 @@ func runUpdateTask(cmd *cobra.Command, _ []string) error { if err != nil { return err } - + if len(pending) == 0 && len(inProgress) == 0 { _, _ = fmt.Fprintln(out, "No pending tasks remaining. If you've completed the goal, escalate to the operator and obtain confirmation before archiving the session with `np a`.") } else { diff --git a/internal/session/session_test.go b/internal/session/session_test.go index bdb28ff99b071644d6ccd230de16656a94ac8392..9b3e171e0c1938db8352b66046072618cdd27d39 100644 --- a/internal/session/session_test.go +++ b/internal/session/session_test.go @@ -396,4 +396,3 @@ func TestLatestArchivedByPathWithMissingDoc(t *testing.T) { t.Fatalf("expected to find session1 %s, got %s", archived1.SID, latest.SID) } } -