Skip to content

Commit

Permalink
Add "write" to warning about using full name when referencing pin
Browse files Browse the repository at this point in the history
  • Loading branch information
rkb965 committed Sep 20, 2023
1 parent 1a1e450 commit aece55c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/board_connect.R
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ rsc_content_find_live <- function(board, name, version = NULL, warn = TRUE) {
name$full <- paste0(owner, "/", name$name)

if (warn) {
cli::cli_alert_warning("Please use full name when reading a pin: {.val {name$full}}, not {.val {name$name}}.")
cli::cli_alert_warning("Please use full name when reading or writing a pin: {.val {name$full}}, not {.val {name$name}}.")
}
selected <- json[[1]]
} else {
Expand Down

0 comments on commit aece55c

Please sign in to comment.