lint clean

This commit is contained in:
Aliaksei Chapyzhenka 2020-09-29 13:16:58 -07:00
parent 581c2704ca
commit 2e38b9a97b
2 changed files with 33 additions and 29 deletions

View File

@ -14,8 +14,12 @@ module.exports = skip => {
stop = time;
}
}
if (cmd === 15) { up = time; }
else if (cmd === 14) { total += (time - up); up = time; }
if (cmd === 15) {
up = time;
} else
if (cmd === 14) {
total += (time - up); up = time;
}
},
time: () => stop - start,
uptime: () => total