2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 21:07:42 +00:00

ProjectPath bug fixes

This commit is contained in:
Jack Andersen
2017-12-01 19:49:45 -10:00
parent c9f7d67318
commit d4ce1d4913
4 changed files with 19 additions and 9 deletions

View File

@@ -432,7 +432,7 @@ static void VisitDirectory(const ProjectPath& dir,
std::vector<std::unique_ptr<IDataSpec>>& specInsts,
CookProgress& progress, ClientProcess* cp)
{
if (dir.getLastComponent()[0] == _S('.'))
if (dir.getLastComponent().size() > 1 && dir.getLastComponent()[0] == _S('.'))
return;
std::map<SystemString, ProjectPath> children;