Skip to content

Commit

Permalink
In accordance to issue greenpau#28 removed requirement for .git exten…
Browse files Browse the repository at this point in the history
…sion.
  • Loading branch information
asd20752 authored Oct 8, 2024
1 parent e1241f5 commit 2bcbf34
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/service/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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://"):
Expand Down

0 comments on commit 2bcbf34

Please sign in to comment.