Fix introduced bug in real_path
This commit is contained in:
parent
9518f279fb
commit
6d8747b886
|
@ -79,7 +79,7 @@ String real_path(StringView filename)
|
||||||
{
|
{
|
||||||
if (non_existing.empty())
|
if (non_existing.empty())
|
||||||
return res;
|
return res;
|
||||||
return format("{}{}", res, non_existing);
|
return format("{}/{}", res, non_existing);
|
||||||
}
|
}
|
||||||
|
|
||||||
auto it = find(existing.rbegin() + 1, existing.rend(), '/');
|
auto it = find(existing.rbegin() + 1, existing.rend(), '/');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user