Skip to content

Commit

Permalink
Merge pull request #307 from rstudio/bugfix/rsc-306
Browse files Browse the repository at this point in the history
Port fix for /pull/306
  • Loading branch information
javierluraschi committed Nov 4, 2020
2 parents bde095b + ef52811 commit 62e829b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions R/board_rsconnect.R
Expand Up @@ -185,9 +185,6 @@ board_pin_create.rsconnect <- function(board, path, name, metadata, code = NULL,
progress = http_utils_progress("up", size = file.info(normalizePath(bundle))$size))

if (!is.null(upload$error)) {
# before we fail, clean up rsconnect content
rsconnect_api_delete(board, paste0("/__api__/v1/experimental/content/", guid))

stop("Failed to upload pin: ", upload$error)
}

Expand Down

0 comments on commit 62e829b

Please sign in to comment.