From a6ac615f66781711d61ccaa10aaad7a4ecd5f766 Mon Sep 17 00:00:00 2001 From: vilmibm Date: Mon, 27 Jul 2020 13:04:01 -0500 Subject: [PATCH] remove vestigial struct field --- pkg/cmd/repo/fork/fork.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/cmd/repo/fork/fork.go b/pkg/cmd/repo/fork/fork.go index 70af5ed20..724d412e2 100644 --- a/pkg/cmd/repo/fork/fork.go +++ b/pkg/cmd/repo/fork/fork.go @@ -26,7 +26,6 @@ type ForkOptions struct { IO *iostreams.IOStreams BaseRepo func() (ghrepo.Interface, error) Remotes func() (context.Remotes, error) - Since func(t time.Time) time.Duration Repository string Clone bool @@ -35,7 +34,6 @@ type ForkOptions struct { PromptRemote bool } -// TODO decide if this should be injected via a factory. var Since = func(t time.Time) time.Duration { return time.Since(t) }