You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve pre/post render script logging and add output control env vars (#12444)
Add `Running script` prefix to script execution logging for clearer output.
Pass two new environment variables to pre/post render scripts so they can
adapt their output:
- QUARTO_PROJECT_SCRIPT_PROGRESS: "1" when progress can be shown, "0" otherwise
- QUARTO_PROJECT_SCRIPT_QUIET: "1" when --quiet is active, "0" otherwise
Consolidate handler/non-handler code paths in runScripts using a default
handler with nullish coalescing, and move environment initialization before
the loop.
Copy file name to clipboardExpand all lines: news/changelog-1.9.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -109,6 +109,7 @@ All changes included in 1.9:
109
109
110
110
## Projects
111
111
112
+
- ([#12444](https://github.com/quarto-dev/quarto-cli/pull/12444)): Improve pre/post render script logging with `Running script` prefix and add `QUARTO_PROJECT_SCRIPT_PROGRESS` and `QUARTO_PROJECT_SCRIPT_QUIET` environment variables so scripts can adapt their output.
112
113
- ([#13892](https://github.com/quarto-dev/quarto-cli/issues/13892)): Fix `output-dir: ./` deleting entire project directory. `output-dir` must be a subdirectory of the project directory and check is now better to avoid deleting the project itself when it revolves to the same path.
0 commit comments