Skip to content

Commit

Permalink
lint failure confirmation prompt default is "no" (#653)
Browse files Browse the repository at this point in the history
fixes #652
  • Loading branch information
aronatkins committed Jan 12, 2023
1 parent 6157c6c commit 3fbc8ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# rsconnect 0.8.30 (development version)

* The confirmation prompt presented upon lint failures indicates "no" as its
default. (#652)

# rsconnect 0.8.29

* Introduced support for publishing to Posit Cloud. This feature is currently
Expand Down
2 changes: 1 addition & 1 deletion R/deployApp.R
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ deployApp <- function(appDir = getwd(),
}
message("The following potential problems were identified in the project files:\n")
printLinterResults(lintResults)
response <- readline("Do you want to proceed with deployment? [Y/n]: ")
response <- readline("Do you want to proceed with deployment? [y/N]: ")
if (tolower(substring(response, 1, 1)) != "y") {
message("Cancelling deployment.")
return(invisible(lintResults))
Expand Down

0 comments on commit 3fbc8ce

Please sign in to comment.