Skip to content

Commit 3f218c8

Browse files
committed
fix failing test
1 parent 18b5f0a commit 3f218c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grails-plugin-gsp/src/main/groovy/org/grails/plugins/web/GroovyPagesGrailsPlugin.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ class GroovyPagesGrailsPlugin extends Plugin {
177177
def defaultViews = getClass().classLoader.getResource('gsp/views.properties')
178178
List<Resource> allViewsProperties = []
179179

180-
for(plugin in pluginManager.allPlugins) {
180+
for(plugin in pluginManager?.allPlugins) {
181181

182182
def pluginViews = IOUtils.findResourceRelativeToClass(plugin.getPluginClass(), '/gsp/views.properties')
183183
if(pluginViews != null) {

0 commit comments

Comments
 (0)