Skip to content

Commit c00be5e

Browse files
nathen418github-actions[bot]
authored andcommitted
Apply auto formatting changes
1 parent ca8e24f commit c00be5e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

features/statuspage.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ import { isDocker } from "../utils/docker";
55
export default (client: Client): void => {
66
// Check if the bot is running in a docker container by checking if the env variable UPTIME_KUMA_CONTAINERIZED is true
77
if (isDocker()) return;
8-
if (!process.env.UPTIME_KUMA_MONITOR_DOMAIN || !process.env.UPTIME_KUMA_MONITOR_ID) return;
8+
if (
9+
!process.env.UPTIME_KUMA_MONITOR_DOMAIN ||
10+
!process.env.UPTIME_KUMA_MONITOR_ID
11+
)
12+
return;
913
const updateStatus = async () => {
1014
// This function is called every 1 minutes and pings the network status page for uptime monitoring
1115
await axios.get(

0 commit comments

Comments
 (0)