Skip to content

Commit af99613

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

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
@@ -330,6 +330,8 @@ export async function renderProject(
330330
...(projectRenderConfig.behavior.renderAll
331331
? { QUARTO_PROJECT_RENDER_ALL: "1" }
332332
: {}),
333+
"QUARTO_PROJECT_SCRIPT_PROGRESS":
334+
progress && !projectRenderConfig.options.flags?.quiet ? "1" : "0",
333335
};
334336

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

0 commit comments

Comments
 (0)