mirror of
https://github.com/pantor/inja.git
synced 2026-10-11 23:07:14 +00:00
filesystem::path fixes
This commit is contained in:
1 parent
9b6587135c
commit
804823dbca
4 files changed
+6
-6
No files matched your search
@@ -97,7 +97,7 @@ class Parser {
|
||||
|
||||
if (config.search_included_templates_in_files) {
|
||||
// Build the relative path
|
||||
template_name = path / original_name;
|
||||
template_name = (path / original_name).string();
|
||||
if (template_name.compare(0, 2, "./") == 0) {
|
||||
template_name.erase(0, 2);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user