Fixed warnings

This commit is contained in:
2023-06-03 01:39:51 +02:00
parent 57f9681e0f
commit e32df0035d
4 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@ module.exports.checkServer = async ({hostname, username = "root", password, priv
});
});
}).connect({host: hostname, port, username, password, privateKey, readyTimeout: 5000}).on("error", (err) => {
}).connect({host: hostname, port, username, password, privateKey, readyTimeout: 5000}).on("error", () => {
reject("Error while connecting to server");
session.end();
});