Browse files

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.
  • Loading branch information...
Morganamilo committed Aug 28, 2018
1 parent 31aca68 commit 6894ddfd5cd46056e42d9cd0368e7cdbe37f9ec3
Showing with 0 additions and 1 deletion.
  1. +0 −1 vcs.go
1 vcs.go
@@ -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() {
fmt.Println(bold(yellow(arrow)), "Timeout:", cyan(url))
err = cmd.Wait()

0 comments on commit 6894ddf

Please sign in to comment.