Skip to content

Commit

Permalink
chore: fixed error handling of corrupt quarto installation
Browse files Browse the repository at this point in the history
  • Loading branch information
kapsner authored Oct 15, 2024
1 parent 7a73a33 commit 93a828f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/write_autonewsmd.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ write_autonewsmd <- function(self, private, force, con) {
)

# check for presence of quarto
if (is.null(quarto::quarto_path())) {
if (is.null(quarto::quarto_path()) || quarto::quarto_path() == "") {
stop(
paste0(
"Quarto command-line tools path not found! ",
Expand Down

0 comments on commit 93a828f

Please sign in to comment.