AssetHelper: don't bother creating the default library if there are no assets
This commit is contained in:
@@ -427,7 +427,7 @@ class AssetHelper
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!libraryMap.exists(DEFAULT_LIBRARY_NAME))
|
if (project.assets.length > 0 && !libraryMap.exists(DEFAULT_LIBRARY_NAME))
|
||||||
{
|
{
|
||||||
library = new Library(null, DEFAULT_LIBRARY_NAME);
|
library = new Library(null, DEFAULT_LIBRARY_NAME);
|
||||||
project.libraries.push(library);
|
project.libraries.push(library);
|
||||||
|
|||||||
Reference in New Issue
Block a user