all repos — website @ 01e9fdd7f65cd5beeb89e43befd4e595e6837a2d

My website

refactor: remove unused argument
Alan Pearce alan@alanpearce.eu
Sat, 29 Jun 2024 19:13:13 +0200
commit

01e9fdd7f65cd5beeb89e43befd4e595e6837a2d

parent

7749962c24172c29fd8851afb86e923b5d5f369c

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M internal/vcs/repository.gointernal/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()