mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
Merge branch '3.5.x' into 4.0.x
Closes gh-49287
This commit is contained in:
+1
-1
@@ -37,7 +37,7 @@ class MyEnvironmentPostProcessor : EnvironmentPostProcessor {
|
||||
}
|
||||
|
||||
private fun loadYaml(path: Resource): PropertySource<*> {
|
||||
Assert.isTrue(path.exists()) { "Resource $path does not exist" }
|
||||
Assert.isTrue(path.exists()) { "'path' [$path] must exist" }
|
||||
return try {
|
||||
loader.load("custom-resource", path)[0]
|
||||
} catch (ex: IOException) {
|
||||
|
||||
Reference in New Issue
Block a user