Skip to content

Commit

Permalink
correctly get repofullname (#1625)
Browse files Browse the repository at this point in the history
  • Loading branch information
motatoes authored Jul 16, 2024
1 parent d306bef commit bedf968
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dgctl/cmd/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ func getRepoFullname() (string, error) {
// Format: git@github.com:orgName/repoName.git
parts := strings.Split(originURL, ":")
repoFullname = parts[1]
repoFullname = strings.ReplaceAll(repoFullname, ".git", "")
}

return repoFullname, nil
Expand Down

0 comments on commit bedf968

Please sign in to comment.