You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add test case for when output-dir uses parent traversal to reference
the project directory (e.g., project in "quarto-proj" with
output-dir: "../quarto-proj"). This edge case was raised in PR review.
The fix using resolve() correctly handles this pattern since
resolve(dir, "../dirname") equals resolve(dir) when dirname is
the current directory name.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This document tests that `output-dir: ../output-dir-parent-ref` (referencing the project directory via parent traversal) does not delete the project directory.
0 commit comments