Skip to content

Commit a0d2807

Browse files
catalamartilionel-
andauthored
Update R/build-home-index.R
Co-authored-by: Lionel Henry <[email protected]>
1 parent ca04c6b commit a0d2807

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

R/build-home-index.R

+3-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,9 @@ data_home_sidebar_links <- function(pkg = ".") {
159159
links <- config_pluck(pkg, "home.links")
160160

161161
bug_reports <- pkg$desc$get_field("BugReports", default = NULL)
162-
if (grepl("@", bug_reports)) bug_reports <- paste0("mailto:", bug_reports)
162+
if (grepl("@", bug_reports)) {
163+
bug_reports <- paste0("mailto:", bug_reports)
164+
}
163165

164166
links <- c(
165167
link_url(sprintf(tr_("View on %s"), repo$repo), repo$url),

0 commit comments

Comments
 (0)