run eslint

This commit is contained in:
LouisLam 2021-08-10 20:00:59 +08:00 committed by Matthew Macdonald-Wallace
parent 268dd33792
commit debcac4924

View file

@ -45,12 +45,9 @@ class Prometheus {
}
update(heartbeat, tlsInfo) {
// TODO: TLS Info here
if (typeof tlsInfo !== "undefined") {
try {
var is_valid = 0
let is_valid = 0
if (tlsInfo.valid == true) {
is_valid = 1
} else {