Skip to content

Commit ff0a8e9

Browse files
committed
fix git open -p
1 parent 78a4eca commit ff0a8e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

git.go

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

7979
func WithPipeline(origin string) string {
80+
origin = strings.TrimRight(origin, ".git")
8081
if ISGithub((origin)) {
8182
return origin + `/actions`
8283
}

0 commit comments

Comments
 (0)