Browse Source

Merge pull request #531 from Morganamilo/support-singed

Support source URLs that contain ?
Anna 6 years ago
parent
commit
1e0ad92dd1
1 changed files with 2 additions and 0 deletions
  1. 2 0
      vcs.go

+ 2 - 0
vcs.go

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