File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -111,8 +111,6 @@ golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLL
111
111
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110 /go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg =
112
112
golang.org/x/net v0.0.0-20220722155237-a158d28d115b /go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c =
113
113
golang.org/x/net v0.6.0 /go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs =
114
- golang.org/x/oauth2 v0.22.0 h1:BzDx2FehcG7jJwgWLELCdmLuxk2i+x9UDpSiss2u0ZA =
115
- golang.org/x/oauth2 v0.22.0 /go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI =
116
114
golang.org/x/oauth2 v0.23.0 h1:PbgcYx2W7i4LvjJWEbf0ngHV6qJYr86PkAV3bXdLEbs =
117
115
golang.org/x/oauth2 v0.23.0 /go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI =
118
116
golang.org/x/sync v0.0.0-20190423024810-112230192c58 /go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM =
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ func (g *Git) RepoName() string {
151
151
}
152
152
153
153
remoteURL := string (output )
154
- re := regexp .MustCompile (`\S\s*\S+.com\S{1}(\S*) \(push\)` )
154
+ re := regexp .MustCompile (`\S\s*\S+\ .com\S{1}(\S*) \(push\)` )
155
155
match := re .FindStringSubmatch (remoteURL )
156
156
if len (match ) >= 2 {
157
157
return strings .Split (match [1 ], ".git" )[0 ]
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import (
22
22
var (
23
23
packageOwner = "emmahsax"
24
24
packageRepository = "go-git-helper"
25
- packageVersion = "0.0.10 "
25
+ packageVersion = "0.0.11 "
26
26
)
27
27
28
28
func main () {
You can’t perform that action at this time.
0 commit comments