From 3fbc8ce94eb3a8925246280a18ba1259a35e21f1 Mon Sep 17 00:00:00 2001 From: Aron Atkins Date: Thu, 12 Jan 2023 10:31:55 -0500 Subject: [PATCH] lint failure confirmation prompt default is "no" (#653) fixes #652 --- NEWS.md | 3 +++ R/deployApp.R | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/NEWS.md b/NEWS.md index a408b752..ad67bf9c 100644 --- a/NEWS.md +++ b/NEWS.md @@ -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 diff --git a/R/deployApp.R b/R/deployApp.R index 0f7e915a..3fbb1b1b 100644 --- a/R/deployApp.R +++ b/R/deployApp.R @@ -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))