Skip to content
This repository was archived by the owner on Jun 7, 2024. It is now read-only.

Commit 9cade38

Browse files
committed
[debug] fix debug err
1 parent 1c29e0f commit 9cade38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fgit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ func main() {
149149
isConnectOk = debug("https://hub.fastgit.org")
150150
case 3:
151151
_i := os.Args[2]
152-
if strings.HasPrefix(_i, "https://") || strings.HasPrefix(_i, "https://") {
152+
if !(strings.HasPrefix(_i, "http://") || strings.HasPrefix(_i, "https://")) {
153153
_i = "http://" + _i
154154
}
155155
isConnectOk = debug(_i)

0 commit comments

Comments
 (0)