Browse Source

Merge pull request #361 from Morganamilo/fixup2

Remove duplicate cmd.Run()
Anna 7 năm trước cách đây
mục cha
commit
2d559b874a
1 tập tin đã thay đổi với 0 bổ sung5 xóa
  1. 0 5
      vcs.go

+ 0 - 5
vcs.go

@@ -156,11 +156,6 @@ func getCommit(url string, branch string, protocols []string) string {
 			continue
 		}
 
-		err = cmd.Run()
-		if err != nil {
-			continue
-		}
-
 		stdout := outbuf.String()
 		split := strings.Fields(stdout)