Test locally <<hooks = ['pre-push': 'checkstyleMain']>>
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user