Unverified Commit 8a624a62 authored by Kenton Varda's avatar Kenton Varda Committed by GitHub

Merge pull request #890 from capnproto/fix-889

Fixes #889.
parents 17993aff 34a46dd6
...@@ -1899,7 +1899,9 @@ private: ...@@ -1899,7 +1899,9 @@ private:
auto remainder = path.slice(i, path.size()); auto remainder = path.slice(i, path.size());
KJ_IF_MAYBE(sdir, sourceDirectories.find(prefix)) { 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