We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f85c01e commit 84ddff3Copy full SHA for 84ddff3
pmd.groovy
@@ -26,7 +26,7 @@ if (filesToAnalyse.isEmpty()) {
26
}
27
28
def ruleSetPath
29
-if ( new File(parsedConfig.config).exists() ) {
+if ( parsedConfig.config && (new File(parsedConfig.config).exists()) ) {
30
ruleSetPath = parsedConfig.config
31
} else {
32
ruleSetPath = "/usr/src/app/ruleset.xml"
0 commit comments