enhancement(lint): Fix lint errors for src/modules/hacktime.ts

Co-authored-by: NeonGamerBot-QK <saahilattud@gmail.com>
Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
This commit is contained in:
zeon-neon[bot] 2024-12-09 20:16:58 +00:00 committed by GitHub
parent ebc82d1823
commit e7e66d88ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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