Skip to content

fix: loading templates which has multiple extensions#551

Merged
sunng87 merged 1 commit into
masterfrom
fix/dir-source-extension
Dec 21, 2022
Merged

fix: loading templates which has multiple extensions#551
sunng87 merged 1 commit into
masterfrom
fix/dir-source-extension

Conversation

@sunng87

@sunng87 sunng87 commented Dec 20, 2022

Copy link
Copy Markdown
Owner

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
Copy Markdown

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