Skip to content

Commit

Permalink
Correctly return TRUE is user trust extension author
Browse files Browse the repository at this point in the history
fixes #212
  • Loading branch information
cderv committed Sep 16, 2024
1 parent 3c46699 commit 0fcb998
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: quarto
Title: R Interface to 'Quarto' Markdown Publishing System
Version: 1.4.4.9002
Version: 1.4.4.9003
Authors@R: c(
person("JJ", "Allaire", , "[email protected]", role = "aut",
comment = c(ORCID = "0000-0003-0174-9868")),
Expand Down
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

- `quarto_path()` now returns a normalized path with potential symlink resolved, for less confusion with `quarto_binary_sitrep()` (thanks, @jennybc).

- Fix an error with interactive prompt for extension approval (thanks, @wjschne, #212).

# quarto 1.4.4

- `quarto_preview()` now looks at `quarto preview` log to browse to the correct url when inside RStudio viewer (thanks, @aronatkins, #167).
Expand Down
2 changes: 2 additions & 0 deletions R/utils-prompt.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ check_extension_approval <- function(no_prompt = FALSE, what = "Something", see_
if (!prompt_value %in% "y") {
cli::cli_inform("{what} not installed.")
return(invisible(FALSE))
} else {
return(invisible(TRUE))
}
}
}

0 comments on commit 0fcb998

Please sign in to comment.