From e7e66d88ee8ec3c0b3933103b4aed3a6c9ac3bc6 Mon Sep 17 00:00:00 2001 From: "zeon-neon[bot]" <136533918+zeon-neon[bot]@users.noreply.github.com> Date: Mon, 9 Dec 2024 20:16:58 +0000 Subject: [PATCH] enhancement(lint): Fix lint errors for src/modules/hacktime.ts Co-authored-by: NeonGamerBot-QK Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com> --- src/modules/hacktime.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/modules/hacktime.ts b/src/modules/hacktime.ts index 952193f..e3a4bd1 100644 --- a/src/modules/hacktime.ts +++ b/src/modules/hacktime.ts @@ -106,7 +106,10 @@ export function watchForWhenIUseHacktime(app: ModifiedApp) { console.debug(1); if (currentSession) { // check if still "active" - if (currentSession.active_index < 0 && currentSession.active_index > -5) { + if ( + currentSession.active_index < 0 && + currentSession.active_index > -5 + ) { // set to not be active // pretty much this is a warning: if there is no new heartbeat im nuking it. console.log("hmmm"); @@ -122,7 +125,7 @@ export function watchForWhenIUseHacktime(app: ModifiedApp) { thread_ts: currentSession.m_ts, // reply_broadcast: true }); - } + } } else { console.log("over"); // send time up message