Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: loading templates which has multiple extensions #551

Merged
merged 1 commit into from Dec 21, 2022

Conversation

sunng87
Copy link
Owner

@sunng87 sunng87 commented Dec 20, 2022

Fixes #549

This patch uses strip_surfix and ends_with to deal with template file names, in order to be compatible with our previous implementation.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 80.2% when pulling eb0d82f on fix/dir-source-extension into 4760425 on master.

@sunng87 sunng87 merged commit 757c31d into master Dec 21, 2022
@sunng87 sunng87 deleted the fix/dir-source-extension branch December 21, 2022 02:01
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.

(Breaking) Change in register_templates_directory
2 participants