Skip to content

Commit

Permalink
Do not check_pin_name() in pin_upload() (#852)
Browse files Browse the repository at this point in the history
* Do not `check_pin_name()` in `pin_upload()`

* Update NEWS
  • Loading branch information
juliasilge authored Dec 13, 2024
1 parent 710d833 commit 9689016
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

* Support new `preview_data` parameter for pin previews on Posit Connect (#850).

* Fixed a bug in how `pin_upload()` handles pin names (#852).

# pins 1.4.0

## Lifecycle changes
Expand Down
2 changes: 0 additions & 2 deletions R/pin-upload-download.R
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ pin_upload <- function(board,
if (is.null(name) && length(paths) == 1) {
name <- fs::path_file(paths)
inform(paste0("Guessing `name = '", name, "'`"))
} else {
check_pin_name(name)
}

check_metadata(metadata)
Expand Down

0 comments on commit 9689016

Please sign in to comment.