Replies: 1 comment 3 replies
-
Just thinking this through, that check is using the "equality" operator
What values are you thinking would be passed to
So I think you're thinking of something else. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This is related to, but distinct from, #3199.
I understand that I can specify the output directory to be deleted before rendering by running:
I also see that this is default when the render-flags are parsed:
quarto-cli/src/command/render/flags.ts
Lines 346 to 349 in 1c4b8b1
However, if I run:
it calls render (unless
--no-render
), but theclean = true
default is not invoked as far as I can tell.Questions
Is there a way to specify a
clean:
value in_quarto.yml
?Rather than setting
clean = true
inflags.ts
, would you consider a change in the render logic?quarto-cli/src/command/render/project.ts
Lines 161 to 164 in 1c4b8b1
I think that
would have the same effect as setting the default value in
flags.ts
, but it would work also in thepublish
case.Happy to create a PR, etc. (Happy New Year 🎉)
Beta Was this translation helpful? Give feedback.
All reactions