jdaugherty commented on code in PR #15194:
URL: https://github.com/apache/grails-core/pull/15194#discussion_r2482211751
##########
grails-bootstrap/src/main/groovy/org/grails/config/NavigableMap.groovy:
##########
@@ -187,7 +189,7 @@ class NavigableMap implements Map<String, Object>,
Cloneable {
private static boolean springProfileExclude(Map sourceMap, String path) {
// Is there an active Spring profile?
- def activeSpringProfile = System.getProperty(SPRING_PROFILES)
+ def activeSpringProfile = System.getProperty(SPRING_PROFILES) ?:
Environment.current.name
Review Comment:
Alternatively to this change, we could change line 228. It seemed most
reasonable to default the environment name instead
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]