Show message for timed out vcs checks

This commit is contained in:
morganamilo committed 2018-08-09 16:25:14 +01:00
1 parent 284c87afb6
commit 2de67d1b24
1 file changed
+1
+1
View File
@@ -173,6 +173,7 @@ 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()