From bc58555889f0b940b838f852559801db17c1950e Mon Sep 17 00:00:00 2001 From: Jakub Mikulas Date: Tue, 11 Oct 2016 15:02:24 +0200 Subject: [PATCH] style: fix lint errors --- lib/config/index.js | 2 +- lib/webserver.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/config/index.js b/lib/config/index.js index e3a47ba3c..81f407ab9 100644 --- a/lib/config/index.js +++ b/lib/config/index.js @@ -1,6 +1,6 @@ const config = require('snyk-config')(__dirname + '/..'); -const { camelify, expand } = require('./utils'); +const { camelify } = require('./utils'); // allow the user to define their own configuration const dotenv = require('dotenv'); diff --git a/lib/webserver.js b/lib/webserver.js index 56352a307..c60bddc16 100644 --- a/lib/webserver.js +++ b/lib/webserver.js @@ -19,7 +19,7 @@ const stripEmptyRequestBody = (req, res, next) => { delete req.body; } next(); -} +}; function main({ key = null, cert = null, port = 7341 } = {}, altPort = null) { const http = (!key && !cert); // no https if there's no certs