@@ -234,10 +234,6 @@ class StubRunnerExecutor implements StubFinder {
|
||||
this.stubServer = new StubServer(stubConfiguration, mappings, contracts, new NoOpHttpServerStub());
|
||||
return;
|
||||
}
|
||||
if (contracts.isEmpty()) {
|
||||
log.warn("There are no contracts in the published JAR. This is an unusual situation "
|
||||
+ "that's why will start the server - maybe you know what you're doing...");
|
||||
}
|
||||
if (port != null && port >= 0) {
|
||||
this.stubServer = new StubServer(stubConfiguration, mappings, contracts, new WireMockHttpServerStub(port));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user