Skip to content

use safeRemoveDirSync when possible to avoid unexpected catastrophic directory deletions - #11455

Merged
cscheid merged 2 commits into
mainfrom
bugfix/7998
Nov 15, 2024
Merged

cscheid merged 2 commits into
mainfrom
bugfix/7998

Conversation

@cscheid

@cscheid cscheid commented Nov 15, 2024

Copy link
Copy Markdown
Member

Closes #7998.

Note that Quarto will still fail to compile this because the parent directory configuration causes Quarto to attempt to cp -r a directory to a subdirectory of itself, which is nonsense. But at least we will refuse to rm -r project directories by accident.

@cscheid
cscheid merged commit 2507116 into main Nov 15, 2024
@cscheid
cscheid deleted the bugfix/7998 branch November 15, 2024 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

quarto book project + wrong config == render trashes entire directory

1 participant