format
This commit is contained in:
1 parent
6ecb27d522
commit
9a8a175f7c
1 file changed
+1
-2
@@ -42,8 +42,7 @@ export class PingProvider implements IStatusProvider<PingStatusPayload> {
|
||||
throw new Error(`No response from ping for host: ${sanitizedHost}`);
|
||||
}
|
||||
|
||||
const responseTime =
|
||||
typeof response.time === "number" ? response.time : parseFloat(String(response.time)) || 0;
|
||||
const responseTime = typeof response.time === "number" ? response.time : parseFloat(String(response.time)) || 0;
|
||||
|
||||
return {
|
||||
monitorId: monitor.id,
|
||||
|
||||
Reference in new issue
Block a user