File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -296,8 +296,10 @@ export async function renderProject(
296
296
await ensureGitignore ( context . dir ) ;
297
297
298
298
// determine whether pre and post render steps should show progress
299
- const progress = ! ! projectRenderConfig . options . progress ||
300
- ( projectRenderConfig . filesToRender . length > 1 ) ;
299
+ const progress = (
300
+ ! ! projectRenderConfig . options . progress ||
301
+ ( projectRenderConfig . filesToRender . length > 1 )
302
+ ) && ! projectRenderConfig . options . flags ?. quiet ;
301
303
302
304
// if there is an output dir then remove it if clean is specified
303
305
if (
@@ -328,8 +330,7 @@ export async function renderProject(
328
330
...( projectRenderConfig . behavior . renderAll
329
331
? { QUARTO_PROJECT_RENDER_ALL : "1" }
330
332
: { } ) ,
331
- "QUARTO_PROJECT_SCRIPT_PROGRESS" :
332
- progress && ! projectRenderConfig . options . flags ?. quiet ? "1" : "0" ,
333
+ "QUARTO_PROJECT_SCRIPT_PROGRESS" : progress ? "1" : "0" ,
333
334
} ;
334
335
335
336
// 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