ProjectXMLParser: avoid exception for directories that don't exist (references #1689)

Calls FileSystem.exists() before FileSystem.isDirectory()
This commit is contained in:
Josh Tynjala
2023-05-16 08:56:29 -07:00
parent 6e15d43178
commit 51c90393fe

View File

@@ -706,7 +706,7 @@ class ProjectXMLParser extends HXProject
for (file in files)
{
if (FileSystem.isDirectory(path + "/" + file))
if (FileSystem.exists(path + "/" + file) && FileSystem.isDirectory(path + "/" + file))
{
if (Path.extension(file) == "bundle")
{