From 2bcbf34cddc5112b905bc4f4524d2889892be2f7 Mon Sep 17 00:00:00 2001 From: "Adrian B. Hoffsten" <11799746+asd20752@users.noreply.github.com> Date: Tue, 8 Oct 2024 23:27:58 +0200 Subject: [PATCH] In accordance to issue #28 removed requirement for .git extension. --- pkg/service/config.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/service/config.go b/pkg/service/config.go index ec0b3aa..c959cf1 100644 --- a/pkg/service/config.go +++ b/pkg/service/config.go @@ -103,9 +103,6 @@ func (rc *RepositoryConfig) validate() error { if rc.Address == "" { return errors.ErrRepositoryConfigAddressEmpty } - if !strings.HasSuffix(rc.Address, ".git") { - return errors.ErrRepositoryConfigAddressUnsupported.WithArgs(rc.Address) - } switch { case strings.HasPrefix(rc.Address, "https://"), strings.HasPrefix(rc.Address, "http://"):