Fix introduced bug in real_path

This commit is contained in:
Maxime Coste 2018-03-19 06:28:06 +11:00
parent 9518f279fb
commit 6d8747b886

View File

@ -79,7 +79,7 @@ String real_path(StringView filename)
{
if (non_existing.empty())
return res;
return format("{}{}", res, non_existing);
return format("{}/{}", res, non_existing);
}
auto it = find(existing.rbegin() + 1, existing.rend(), '/');