Commit 447087af authored by Kenton Varda's avatar Kenton Varda

Fix Unix: SchemaParser fix for Windows broke Unix.

parent 66fbc203
...@@ -49,7 +49,7 @@ public: ...@@ -49,7 +49,7 @@ public:
private: private:
kj::Own<kj::Directory> root = kj::newInMemoryDirectory(kj::nullClock()); kj::Own<kj::Directory> root = kj::newInMemoryDirectory(kj::nullClock());
kj::Path cwd = kj::Path::parse(ABS("path/to/current/dir")); kj::Path cwd = kj::Path({}).evalNative(ABS("path/to/current/dir"));
kj::Own<kj::Directory> current = root->openSubdir(cwd, kj::Own<kj::Directory> current = root->openSubdir(cwd,
kj::WriteMode::CREATE | kj::WriteMode::CREATE_PARENT); kj::WriteMode::CREATE | kj::WriteMode::CREATE_PARENT);
}; };
......
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