From f42d470e34edb02d97db83792d6aa162816e840e Mon Sep 17 00:00:00 2001 From: pat-s Date: Fri, 26 Jul 2024 11:34:01 +0200 Subject: [PATCH] danger -> warning for debug mode --- R/packages_index.R | 4 ++-- R/upload.R | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/R/packages_index.R b/R/packages_index.R index 2bf8020..b116852 100644 --- a/R/packages_index.R +++ b/R/packages_index.R @@ -49,8 +49,8 @@ add_to_package_index <- function( pkgs_upload_remote <- sprintf("%sPACKAGES", remote_bin_dir) if (debug) { - cli::cli_alert_danger("DEBUG: PACKAGES UPLOAD local dir: {pkgs_upload_local}") - cli::cli_alert_danger("DEBUG: PACKAGES UPLOAD remote dir: {pkgs_upload_remote}") + cli::cli_alert_warning("DEBUG: PACKAGES UPLOAD local dir: {pkgs_upload_local}") + cli::cli_alert_warning("DEBUG: PACKAGES UPLOAD remote dir: {pkgs_upload_remote}") } dummy <- s3fs::s3_file_upload(pkgs_upload_local, pkgs_upload_remote, overwrite = TRUE) diff --git a/R/upload.R b/R/upload.R index 0ade4ac..28089d2 100644 --- a/R/upload.R +++ b/R/upload.R @@ -19,8 +19,8 @@ upload_single_binary_to_s3 <- function( remote_bin_path <- set_bin_path(r_minor_version, build_for_minor, local_build_root = bucket, codename) if (debug) { - cli::cli_alert_danger("DEBUG: local_bin_path: {local_bin_path}") - cli::cli_alert_danger("DEBUG: remote_bin_path: {remote_bin_path}") + cli::cli_alert_warning("DEBUG: local_bin_path: {local_bin_path}") + cli::cli_alert_warning("DEBUG: remote_bin_path: {remote_bin_path}") } s3fs::s3_file_system(