Skip to content

Commit bedf968

Browse files
authored
correctly get repofullname (#1625)
1 parent d306bef commit bedf968

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dgctl/cmd/exec.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ func getRepoFullname() (string, error) {
7070
// Format: [email protected]:orgName/repoName.git
7171
parts := strings.Split(originURL, ":")
7272
repoFullname = parts[1]
73+
repoFullname = strings.ReplaceAll(repoFullname, ".git", "")
7374
}
7475

7576
return repoFullname, nil

0 commit comments

Comments
 (0)