Removed excess space around function

Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
This commit is contained in:
Matthew Nickson 2023-01-06 20:12:21 +00:00
parent 7a13b959a3
commit 5d6770c0db
No known key found for this signature in database
GPG key ID: BF229DCFD4748E05

View file

@ -82,7 +82,7 @@ exports.tcping = function (hostname, port) {
*/
exports.ping = async (hostname, size = 56) => {
try {
return await exports.pingAsync(hostname, false, size );
return await exports.pingAsync(hostname, false, size);
} catch (e) {
// If the host cannot be resolved, try again with ipv6
if (e.message.includes("service not known")) {