Fixed missing ?
This commit is contained in:
@@ -250,7 +250,7 @@ class ContractsCopyTask extends DefaultTask {
|
||||
return;
|
||||
}
|
||||
if (failOnNoContracts.get() && (file == null || !file.exists() || file.listFiles().length == 0)) {
|
||||
String path = file != null file.getAbsolutePath() : "";
|
||||
String path = file != null ? file.getAbsolutePath() : "";
|
||||
throw new GradleException("Contracts could not be found: [" + path
|
||||
+ "]\nPlease make sure that the contracts were defined, or set the [failOnNoContracts] flag to [false]");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user