Try to ignore XML files that are not project files when running Lime commands in the wrong directory
This commit is contained in:
@@ -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");
|
LogHelper.error ("You must have a \"project.xml\" file or specify another valid project file when using the '" + command + "' command");
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user