ProjectXMLParser: avoid exception for directories that don't exist (references #1689)
Calls FileSystem.exists() before FileSystem.isDirectory()
This commit is contained in:
@@ -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")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user