Skip to content

Commit

Permalink
Load config from correct path
Browse files Browse the repository at this point in the history
  • Loading branch information
mrb committed Jun 10, 2016
1 parent 35d2b2d commit 8e94a0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/checkstyle.groovy
Expand Up @@ -27,7 +27,7 @@ if (filesToAnalyse.isEmpty()) {

def ruleSetPath
if ( parsedConfig.config && (new File(parsedConfig.config).exists()) ) {
ruleSetPath = parsedConfig.config
ruleSetPath = "/code/${parsedConfig.config}"
} else {
ruleSetPath = "/usr/src/app/config/codeclimate_checkstyle.xml"
}
Expand Down

0 comments on commit 8e94a0c

Please sign in to comment.