Skip to content

Fix cloning into a nonexistent dir - #137

Merged
ensko merged 2 commits into
typst-community:mainfrom
ensko:fix-clone-target-dir
Oct 27, 2026
Merged

ensko merged 2 commits into
typst-community:mainfrom
ensko:fix-clone-target-dir

Conversation

@ensko

@ensko ensko commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator

The has_content check would fail the clone command if the target dir does not exist, instead of continuing and letting the command create the target dir

ensko added 2 commits October 27, 2026 09:14
Fails for now: checking the target directory for content fails when it
does not exist yet.
has_content() fails on a missing directory, so cloning into a new path
aborted, although copying would create it.
@ensko
ensko merged commit 96037d4 into typst-community:main Oct 27, 2026
6 checks passed
@ensko
ensko deleted the fix-clone-target-dir branch October 27, 2026 10:22
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.

1 participant