From 93a828ffd22db1fbfb7d7e3cc443d352968165f6 Mon Sep 17 00:00:00 2001 From: kapsner Date: Tue, 15 Oct 2024 16:20:22 +0200 Subject: [PATCH] chore: fixed error handling of corrupt quarto installation --- R/write_autonewsmd.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/write_autonewsmd.R b/R/write_autonewsmd.R index 14daf5f..65b2da7 100644 --- a/R/write_autonewsmd.R +++ b/R/write_autonewsmd.R @@ -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! ",