Skip to content

Commit

Permalink
Last capitalisations
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed May 31, 2024
1 parent cd6a4d6 commit 791fcf5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion R/package.R
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ get_bootstrap_version <- function(template, package = NULL, pkg) {
config_abort(
pkg,
c(
"Must set one only of {.field template.bootstrap} and {.field template.bslib.version}.",
"must set only one of {.field template.bootstrap} and {.field template.bslib.version}.",
i = hint
),
call = caller_env()
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/_snaps/templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
local_pkgdown_site(meta = list(template = list(package = "templatepackage")))
Condition
Error in `as_pkgdown()`:
! In _pkgdown.yml, Must set one only of template.bootstrap and template.bslib.version.
! In _pkgdown.yml, must set only one of template.bootstrap and template.bslib.version.
i Specified locally and in template package templatepackage.

# Invalid bootstrap version spec in _pkgdown.yml
Expand All @@ -14,7 +14,7 @@
version = 5))))
Condition
Error in `as_pkgdown()`:
! In _pkgdown.yml, Must set one only of template.bootstrap and template.bslib.version.
! In _pkgdown.yml, must set only one of template.bootstrap and template.bslib.version.

# Warns when Bootstrap theme is specified in multiple locations

Expand Down

0 comments on commit 791fcf5

Please sign in to comment.