1
0
mirror of https://github.com/Jguer/yay.git synced 2025-08-16 03:27:16 +02:00

Merge pull request #531 from Morganamilo/support-singed

Support source URLs that contain ?
This commit is contained in:
Anna 2018-07-04 15:34:39 +01:00 committed by GitHub
commit 1e0ad92dd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
vcs.go
View File

@ -97,6 +97,8 @@ func parseSource(source string) (url string, branch string, protocols []string)
branch = "HEAD" branch = "HEAD"
} }
url = strings.Split(url, "?")[0]
return return
} }