Skip to content

Commit dc543e3

Browse files
update cli message
Co-authored-by: Josiah Parry <[email protected]>
1 parent 2a9f74a commit dc543e3

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

R/use_msrv.R

+6-5
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,12 @@ use_msrv <- function(version, path = "."){
4747
if (is.na(prev)) {
4848
update_description("SystemRequirements", cur, desc_path = desc_path)
4949
} else if (!identical(cur, prev)) {
50-
cli::cli_ul(
51-
c(
52-
"The SystemRequirements field in the {.file DESCRIPTION} file is already set.",
53-
"Please update it manually if needed."
54-
)
50+
cli::cli_ul(
51+
c(
52+
"The SystemRequirements field in the {.file DESCRIPTION} file is already set.",
53+
"Please update it manually if needed.",
54+
"{.code SystemRequirements: {cur}}"
55+
)
5556
)
5657
}
5758

0 commit comments

Comments
 (0)