Skip to content

Commit 562690c

Browse files
committed
fix git open -p
1 parent ff0a8e9 commit 562690c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

git.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func ISGithub(origin string) bool {
7777
}
7878

7979
func WithPipeline(origin string) string {
80-
origin = strings.TrimRight(origin, ".git")
80+
origin = strings.TrimSuffix(origin, ".git")
8181
if ISGithub((origin)) {
8282
return origin + `/actions`
8383
}

0 commit comments

Comments
 (0)