Skip to content

Commit

Permalink
Trim space
Browse files Browse the repository at this point in the history
  • Loading branch information
yzdann committed Oct 21, 2024
1 parent 89e6edd commit 03d4551
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/pkg/githubapi/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -1241,5 +1241,7 @@ func commitStatusTargetURL(commitTime time.Time) string {
return targetURL
}

// trim any leading/trailing whitespace
renderedURL = strings.TrimSpace(renderedURL)
return renderedURL
}

0 comments on commit 03d4551

Please sign in to comment.