Commit 34a46dd6 authored by Kenton Varda's avatar Kenton Varda

Fixes #889.

parent 355697c8
......@@ -1899,7 +1899,9 @@ private:
auto remainder = path.slice(i, path.size());
KJ_IF_MAYBE(sdir, sourceDirectories.find(prefix)) {
return { *sdir->dir, remainder.clone() };
if (sdir->isSourcePrefix) {
return { *sdir->dir, remainder.clone() };
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment