Skip to content

Commit

Permalink
fix git open -p
Browse files Browse the repository at this point in the history
  • Loading branch information
hellojukay committed Mar 8, 2024
1 parent ff0a8e9 commit 562690c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func ISGithub(origin string) bool {
}

func WithPipeline(origin string) string {
origin = strings.TrimRight(origin, ".git")
origin = strings.TrimSuffix(origin, ".git")
if ISGithub((origin)) {
return origin + `/actions`
}
Expand Down

0 comments on commit 562690c

Please sign in to comment.