Added formatting to ping options

Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
This commit is contained in:
Matthew Nickson 2022-07-14 09:19:40 +01:00 committed by GitHub
parent a54e58b4d6
commit b5f04573f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,7 +97,7 @@ exports.pingAsync = function (hostname, ipv6 = false, size = 56) {
return new Promise((resolve, reject) => {
const ping = new Ping(hostname, {
ipv6,
size
size,
});
ping.send(function (err, ms, stdout) {