diff options
Diffstat (limited to 'internal')
-rw-r--r-- | internal/vcs/repository.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/vcs/repository.go b/internal/vcs/repository.go index 42dc6f7..1dbf783 100644 --- a/internal/vcs/repository.go +++ b/internal/vcs/repository.go @@ -36,7 +36,7 @@ func CloneOrUpdate(cfg *Config) (*Repository, error) { repo := &Repository{ repo: gr, } - _, err := repo.Update(cfg) + _, err := repo.Update() if err != nil { return nil, err } @@ -49,7 +49,7 @@ func CloneOrUpdate(cfg *Config) (*Repository, error) { }, nil } -func (r *Repository) Update(cfg *Config) (bool, error) { +func (r *Repository) Update() (bool, error) { log.Info("updating repository") head, err := r.repo.Head() |