From c7d9be70bad18afec8934674c1f1ad04f1829a82 Mon Sep 17 00:00:00 2001 From: Kamil Zyla Date: Sun, 25 Aug 2024 21:56:25 +0200 Subject: [PATCH] refactor: better message when sass: r is used --- R/tools.R | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/R/tools.R b/R/tools.R index b46a4009..a501fb2a 100644 --- a/R/tools.R +++ b/R/tools.R @@ -18,7 +18,10 @@ dev_build <- function(build_js, build_sass) { config <- read_config() if (config$sass != "node") { build_sass <- FALSE - cli::cli_alert_warning("Sass is not configured to use Node.js. Sass won't be automatically rebuilt.") + cli::cli_bullets(c( + "!" = "Sass won't be automatically rebuilt.", + "i" = "Use {.code sass: node} configuration in {.file rhino.yml} to enable it." + )) } }