We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 775b4c2 commit 45c8580Copy full SHA for 45c8580
src/command/render/project.ts
@@ -968,13 +968,16 @@ async function runScripts(
968
}
969
if (!env) throw new Error("should never get here");
970
971
+ // Pass some argument as environment
972
+ env["QUARTO_PROJECT_SCRIPT_PROGRESS"] = progress ? "1" : "0";
973
+ env["QUARTO_PROJECT_SCRIPT_QUIET"] = quiet ? "1" : "0";
974
+
975
for (let i = 0; i < scripts.length; i++) {
976
const args = parseShellRunCommand(scripts[i]);
977
const script = args[0];
978
979
if (progress && !quiet) {
980
info(colors.bold(colors.blue(`Running script '${script}'`)));
- env["QUARTO_PROJECT_SCRIPT_PROGRESS"] = "1";
981
982
983
const handler = handlerForScript(script) ?? {
0 commit comments