Skip to content

Commit

Permalink
Comment out all the stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
bhavik001 committed Dec 11, 2023
1 parent 011059b commit a3ea244
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion server/check_output_directory.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
1 change: 0 additions & 1 deletion server/sockets.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand Down

0 comments on commit a3ea244

Please sign in to comment.