Skip to content

Commit 99f3e0d

Browse files
committed
Let pre/post render script know if progress should be shown.
This will allows scripts to be quiet
1 parent a9c1711 commit 99f3e0d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/command/render/project.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,8 @@ export async function renderProject(
328328
...(projectRenderConfig.behavior.renderAll
329329
? { QUARTO_PROJECT_RENDER_ALL: "1" }
330330
: {}),
331+
"QUARTO_PROJECT_SCRIPT_PROGRESS":
332+
progress && !projectRenderConfig.options.flags?.quiet ? "1" : "0",
331333
};
332334

333335
// run pre-render step if we are rendering all files

0 commit comments

Comments
 (0)