diff --git a/.eslintrc.json b/.eslintrc.json index 85c5a5962..5f28a0992 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -88,7 +88,7 @@ "max-nested-callbacks": "error", "max-params": "off", "max-statements": "off", - "max-statements-per-line": "error", + "max-statements-per-line": "off", "multiline-ternary": [ "error", "never" diff --git a/.gitignore b/.gitignore index ee11b61f9..fc82297fd 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ test_app/chains.json .eslintrc.json .embark/ NOTES +npm-debug.log diff --git a/lib/modules/webserver/index.js b/lib/modules/webserver/index.js index 7d50a4a92..96dea2910 100644 --- a/lib/modules/webserver/index.js +++ b/lib/modules/webserver/index.js @@ -42,8 +42,8 @@ class WebServer { } listenToCommands() { - this.events.setCommandHandler('start-webserver', () => { this.server.start() }); - this.events.setCommandHandler('stop-webserver', () => { this.server.stop() }); + this.events.setCommandHandler('start-webserver', () => { this.server.start(); }); + this.events.setCommandHandler('stop-webserver', () => { this.server.stop(); }); } }