Merge branch '1.1.x'
This commit is contained in:
@@ -78,8 +78,7 @@ class OnWebApplicationCondition extends SpringBootCondition {
|
||||
}
|
||||
|
||||
if (context.getResourceLoader() instanceof WebApplicationContext) {
|
||||
return ConditionOutcome
|
||||
.match("found web application WebApplicationContext");
|
||||
return ConditionOutcome.match("found web application WebApplicationContext");
|
||||
}
|
||||
|
||||
return ConditionOutcome.noMatch("not a web application");
|
||||
|
||||
Reference in New Issue
Block a user