Skip to content

Fix included_dirs bug when a trailing dir separator is present#920

Merged
vincent-botbol merged 1 commit intomasterfrom
fix-included_dirs
Dec 12, 2025
Merged

Fix included_dirs bug when a trailing dir separator is present#920
vincent-botbol merged 1 commit intomasterfrom
fix-included_dirs

Conversation

@vincent-botbol
Copy link
Contributor

When clerk is given an included directory that is not normalized, e.g. src/ (with a trailing '/'), clerk fails through ninja with an obscure error. This PR checks the included directories (both in the clerk.toml and on the CLI arg) and normalize paths.

Copy link
Contributor

@denismerigoux denismerigoux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@vincent-botbol vincent-botbol merged commit d4943de into master Dec 12, 2025
1 check failed
@vincent-botbol vincent-botbol deleted the fix-included_dirs branch December 12, 2025 14:06
@github-project-automation github-project-automation bot moved this from In Progress to Done in Catala - language & tooling Dec 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants