refactor: remove unused argument
Alan Pearce alan@alanpearce.eu
Sat, 29 Jun 2024 19:13:13 +0200
1 files changed, 2 insertions(+), 2 deletions(-)
jump to
M internal/vcs/repository.go → internal/vcs/repository.go
@@ -36,7 +36,7 @@ } repo := &Repository{ repo: gr, } - _, err := repo.Update(cfg) + _, err := repo.Update() if err != nil { return nil, err } @@ -49,7 +49,7 @@ repo: gr, }, nil } -func (r *Repository) Update(cfg *Config) (bool, error) { +func (r *Repository) Update() (bool, error) { log.Info("updating repository") head, err := r.repo.Head()