Skip to content

Commit 1ed209e

Browse files
committed
Fix quarto preview
1 parent 8dfae7d commit 1ed209e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/shinylive-quarto-apps-commands.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ print.quarto_shinylive_apps <- function(x, ...) {
112112
# Step: Preview document
113113
cli::cli_text()
114114
cli::cli_text("{.strong Step {current_step}:} Preview the document:")
115-
cli::cli_code('quarto preview "{doc_name}"', language = "bash")
115+
cli::cli_code(sprintf('quarto preview "%s"', doc_name), language = "bash")
116116

117117
# Add summary of contained apps
118118
cli::cli_text()

0 commit comments

Comments
 (0)