Try to ignore XML files that are not project files when running Lime commands in the wrong directory

This commit is contained in:
Joshua Granick
2015-07-17 10:34:46 -07:00
parent d4f0011de1
commit 0c9bd8916f

View File

@@ -1259,7 +1259,7 @@ class CommandLineTools {
}
if (project == null) {
if (project == null || project.sources.length == 0) {
LogHelper.error ("You must have a \"project.xml\" file or specify another valid project file when using the '" + command + "' command");
return null;