1 parent ff0a8e9 commit 562690cCopy full SHA for 562690c
1 file changed
git.go
@@ -77,7 +77,7 @@ func ISGithub(origin string) bool {
77
}
78
79
func WithPipeline(origin string) string {
80
- origin = strings.TrimRight(origin, ".git")
+ origin = strings.TrimSuffix(origin, ".git")
81
if ISGithub((origin)) {
82
return origin + `/actions`
83
0 commit comments