File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -298,8 +298,10 @@ export async function renderProject(
298
298
await ensureGitignore ( context . dir ) ;
299
299
300
300
// determine whether pre and post render steps should show progress
301
- const progress = ! ! projectRenderConfig . options . progress ||
302
- ( projectRenderConfig . filesToRender . length > 1 ) ;
301
+ const progress = (
302
+ ! ! projectRenderConfig . options . progress ||
303
+ ( projectRenderConfig . filesToRender . length > 1 )
304
+ ) && ! projectRenderConfig . options . flags ?. quiet ;
303
305
304
306
// if there is an output dir then remove it if clean is specified
305
307
if (
@@ -330,8 +332,7 @@ export async function renderProject(
330
332
...( projectRenderConfig . behavior . renderAll
331
333
? { QUARTO_PROJECT_RENDER_ALL : "1" }
332
334
: { } ) ,
333
- "QUARTO_PROJECT_SCRIPT_PROGRESS" :
334
- progress && ! projectRenderConfig . options . flags ?. quiet ? "1" : "0" ,
335
+ "QUARTO_PROJECT_SCRIPT_PROGRESS" : progress ? "1" : "0" ,
335
336
} ;
336
337
337
338
// run pre-render step if we are rendering all files
@@ -963,7 +964,7 @@ async function runScripts(
963
964
const args = parseShellRunCommand ( scripts [ i ] ) ;
964
965
const script = args [ 0 ] ;
965
966
966
- if ( progress && ! quiet ) {
967
+ if ( progress ) {
967
968
info ( colors . bold ( colors . blue ( `Running script '${ script } '` ) ) ) ;
968
969
}
969
970
You can’t perform that action at this time.
0 commit comments