Skip to content

Commit

Permalink
Update R/add_stylecss.R
Browse files Browse the repository at this point in the history
Co-authored-by: James McMahon <[email protected]>
  • Loading branch information
alan-y and Moohan authored Oct 4, 2023
1 parent 2197bda commit 2cdbdce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/add_stylecss.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
#' }
add_stylecss <- function(path = rstudioapi::selectDirectory(caption = "Select folder to add style.css")) {
if (is.null(path)) {
return(message("style.css file not added."))
message("style.css file not added.")
return(NULL)
}

# style.css content to add
Expand Down

0 comments on commit 2cdbdce

Please sign in to comment.