Skip to content

Commit

Permalink
refactor: better message when sass: r is used
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilzyla committed Aug 25, 2024
1 parent dba5a20 commit c7d9be7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion R/tools.R
Original file line number Diff line number Diff line change
Expand Up @@ -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."
))
}
}

Expand Down

0 comments on commit c7d9be7

Please sign in to comment.