mirror of https://github.com/apache/ant-ivy
if not cli do not exit
This commit is contained in:
parent
d06e3bcf41
commit
dc4e5daf75
|
|
@ -300,7 +300,7 @@ public final class Main {
|
|||
resolveOptions.setRefresh(true);
|
||||
}
|
||||
ResolveReport report = ivy.resolve(ivyfile.toURI().toURL(), resolveOptions);
|
||||
if (report.hasError() && !line.hasOption("noterminate")) {
|
||||
if (report.hasError() && isCli) {
|
||||
System.exit(1);
|
||||
}
|
||||
ModuleDescriptor md = report.getModuleDescriptor();
|
||||
|
|
|
|||
Loading…
Reference in New Issue