Skip to content

Commit

Permalink
Merge pull request #59 from hayeskl/master
Browse files Browse the repository at this point in the history
fixed loading classpath based configuration in micronaut
  • Loading branch information
sbglasius authored May 30, 2022
2 parents f66d781 + ebfca39 commit f89b801
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ class ExternalConfigRunListener implements SpringApplicationRunListener {
sources.findAll { String location ->
try {
def resource = defaultResourceLoader.getResource(location)
if (!resource.file.exists()) {
if (!resource.exists()) {
log.debug("Configuration file ${location} not found, ignoring.")
return false
}
Expand Down

0 comments on commit f89b801

Please sign in to comment.