diff --git a/server/check_output_directory.js b/server/check_output_directory.js index 9d5f23ff..041464b1 100644 --- a/server/check_output_directory.js +++ b/server/check_output_directory.js @@ -14,7 +14,6 @@ async function get_error(directory) { return "does not exist"; } if (!fs.statSync(directory).isDirectory()) { - // error = "exists, but is not a directory"; return "exists, but is not a directory"; } const tmpfile = path.join(directory, Math.random() + ".json"); diff --git a/server/sockets.js b/server/sockets.js index fa2a26e4..2b0a7146 100644 --- a/server/sockets.js +++ b/server/sockets.js @@ -37,7 +37,6 @@ function startIO(app) { jsonwebtoken.verify( socket.handshake.query.token, config.AUTH_SECRET_KEY, - // function (err, decoded) { function (err) { if (err) { return next(new Error("Authentication error: Invalid JWT"));