Remove the timeout warning for vcs checks

This message is proving to be more misleading than helpful. For
git+https sources, many hosts seem to always timeout when trying
ls-remote over git:// but then succeed on https://. This leads to
a time out message being displayed even though the URL was queried
successfully on the second try.
This commit is contained in:
morganamilo committed 2018-08-28 04:38:58 +01:00
1 parent 31aca68980
commit 6894ddfd5c
1 file changed
-1
-1
View File
@@ -160,7 +160,6 @@ func getCommit(url string, branch string, protocols []string) string {
//Introduce a time out so this can not hang
timer := time.AfterFunc(5*time.Second, func() {
cmd.Process.Kill()
fmt.Println(bold(yellow(arrow)), "Timeout:", cyan(url))
})
err = cmd.Wait()