Fixed warnings

This commit is contained in:
Mathias committed 2023-06-03 01:39:51 +02:00
1 parent 57f9681e0f
commit e32df0035d
4 files changed
+4 -4

No files matched your search

+1 -1
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();
});