Skip to content

Commit 0fcb998

Browse files
committed
Correctly return TRUE is user trust extension author
fixes #212
1 parent 3c46699 commit 0fcb998

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: quarto
22
Title: R Interface to 'Quarto' Markdown Publishing System
3-
Version: 1.4.4.9002
3+
Version: 1.4.4.9003
44
Authors@R: c(
55
person("JJ", "Allaire", , "[email protected]", role = "aut",
66
comment = c(ORCID = "0000-0003-0174-9868")),

NEWS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

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

9+
- Fix an error with interactive prompt for extension approval (thanks, @wjschne, #212).
10+
911
# quarto 1.4.4
1012

1113
- `quarto_preview()` now looks at `quarto preview` log to browse to the correct url when inside RStudio viewer (thanks, @aronatkins, #167).

R/utils-prompt.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ check_extension_approval <- function(no_prompt = FALSE, what = "Something", see_
1818
if (!prompt_value %in% "y") {
1919
cli::cli_inform("{what} not installed.")
2020
return(invisible(FALSE))
21+
} else {
22+
return(invisible(TRUE))
2123
}
2224
}
2325
}

0 commit comments

Comments
 (0)