Skip to content

Commit a6ac615

Browse files
committed
remove vestigial struct field
1 parent 10422e8 commit a6ac615

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pkg/cmd/repo/fork/fork.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ type ForkOptions struct {
2626
IO *iostreams.IOStreams
2727
BaseRepo func() (ghrepo.Interface, error)
2828
Remotes func() (context.Remotes, error)
29-
Since func(t time.Time) time.Duration
3029

3130
Repository string
3231
Clone bool
@@ -35,7 +34,6 @@ type ForkOptions struct {
3534
PromptRemote bool
3635
}
3736

38-
// TODO decide if this should be injected via a factory.
3937
var Since = func(t time.Time) time.Duration {
4038
return time.Since(t)
4139
}

0 commit comments

Comments
 (0)