Test locally <<hooks = ['pre-push': 'checkstyleMain']>>

This commit is contained in:
Jacques Le Roux
2020-06-13 09:41:59 +02:00
parent 4be47732c7
commit c4b5f5ec2c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -293,7 +293,7 @@ checkstyle {
showViolations = false
}
gitHooks {
hooks = ['pre-commit': 'checkstyleMain']
hooks = ['pre-push': 'checkstyleMain']
}
// Eclipse plugin settings
@@ -100,7 +100,7 @@ public class RequestHandler {
private RequestHandler(ServletContext context) {
// init the ControllerConfig, but don't save it anywhere, just load it into the cache
this.controllerConfigURL = ConfigXMLReader.getControllerConfigURL(context);
this.controllerConfigURL = ConfigXMLReader.getControllerConfigURL(context);
try {
ConfigXMLReader.getControllerConfig(this.controllerConfigURL);
} catch (WebAppConfigurationException e) {